diff --git a/packages/server-core/package.json b/packages/server-core/package.json index c99566651..0b44530b6 100644 --- a/packages/server-core/package.json +++ b/packages/server-core/package.json @@ -4,6 +4,9 @@ "version": "0.0.38", "module": "dist/index.js", "type": "module", + "files": [ + "dist" + ], "exports": { ".": { "types": "./dist/index.d.ts", diff --git a/packages/server/package.json b/packages/server/package.json index 199910175..2b32ce200 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -3,8 +3,15 @@ "packageManager": "yarn@3.4.1", "version": "0.0.38", "types": "dist/index.d.ts", - "main": "dist/index.js", "type": "module", + "files": [ + "dist" + ], + "exports": { + ".": { + "import": "./dist/index.js" + } + }, "scripts": { "dev": "tsx watch ./run.ts", "start": "node --loader tsx ./src/index.ts",