Skip to content

Commit b8a9c57

Browse files
committed
fix cmd
1 parent d210362 commit b8a9c57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"types": "lib/types/index.d.ts",
2727
"scripts": {
2828
"clear": "rm -rf ./lib",
29-
"patch:esm-js": "npx tsc-esm-fix --tsconfig tsconfig.json",
29+
"patch:esm-js": "npx tsc-esm-fix --tsconfig=tsconfig.mjs.json",
3030
"patch:esm-type": "echo '{ \"type\": \"module\" }' >> lib/mjs/package.json",
31-
"build:esm": "npx tsc && npm run patch:esm-js && npm run patch:esm-type",
32-
"build:cjs": "npx tsc -p tsconfig.cjs.json",
31+
"build:esm": "npx tsc -p tsconfig.mjs.json && npm run patch:esm-js && npm run patch:esm-type",
32+
"build:cjs": "npx tsc",
3333
"build": "npm run clear && npm run build:esm && npm run build:cjs",
3434
"test": "npx mocha"
3535
},

0 commit comments

Comments
 (0)