fix(build): correct devtools structure and module resolution

This commit is contained in:
Sehoon Shon
2026-03-25 07:50:08 -04:00
parent 752c96f4c3
commit eea2c95659
2 changed files with 6 additions and 5 deletions
+4 -4
View File
@@ -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": {
+2 -1
View File
@@ -1,7 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist/src",
"outDir": "dist",
"rootDir": "src",
"composite": true,
"declaration": true,
"sourceMap": true,