fix: cannot build prod

This commit is contained in:
2026-07-08 15:31:32 +02:00
parent d486655f54
commit 92b5fd92bc
2 changed files with 5 additions and 13 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"prebuild": "barrelsby --directory src --delete --single",
"build:esm": "tsc -p tsconfig.esm.json && node scripts/postbuild-esm.cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && find dist/cjs -name \"*.js\" -type f -exec sh -c 'mv \"$1\" \"${1%.js}.cjs\"' _ {} \\; && node scripts/postbuild.cjs",
"build": "npm run prebuild && npm run build:esm && npm run build:cjs",
"build": "rm -rf dist && npm run prebuild && npm run build:esm && npm run build:cjs",
"lint": "eslint ."
},
"exports": {