Fix module resolution stuff

This commit is contained in:
Jon Staab
2025-04-02 13:17:06 -07:00
parent 13818e5c80
commit 932a08b7b1
13 changed files with 39 additions and 35 deletions
+5 -3
View File
@@ -8,9 +8,11 @@
"access": "public"
},
"type": "module",
"main": "dist/editor/src/index",
"types": "dist/editor/src/index",
"exports": {
".": {
"import": "./dist/editor/src/index.js",
"types": "./dist/editor/src/index.d.ts"
},
"./index.css": "src/index.css"
},
"files": [
@@ -18,7 +20,7 @@
"src/index.css"
],
"scripts": {
"build": "pnpm run clean && pnpm run compile",
"build": "pnpm run clean && pnpm run compile --force",
"clean": "rimraf ./dist",
"compile": "tsc -b tsconfig.build.json",
"prepublishOnly": "pnpm run build"