diff --git a/packages/devtools/package.json b/packages/devtools/package.json index 69463aa093..b0ce882cea 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -3,12 +3,12 @@ "version": "0.36.0-nightly.20260317.2f90b4653", "license": "Apache-2.0", "type": "module", - "main": "dist/src/index.js", - "types": "dist/src/index.d.ts", + "main": "dist/index.js", + "types": "dist/index.d.ts", "exports": { ".": { - "types": "./dist/src/index.d.ts", - "default": "./dist/src/index.js" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" } }, "scripts": { diff --git a/packages/devtools/tsconfig.build.json b/packages/devtools/tsconfig.build.json index 3e2a05b96d..35a57aabcf 100644 --- a/packages/devtools/tsconfig.build.json +++ b/packages/devtools/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "dist/src", + "outDir": "dist", + "rootDir": "src", "composite": true, "declaration": true, "sourceMap": true,