We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d210362 commit b8a9c57Copy full SHA for b8a9c57
package.json
@@ -26,10 +26,10 @@
26
"types": "lib/types/index.d.ts",
27
"scripts": {
28
"clear": "rm -rf ./lib",
29
- "patch:esm-js": "npx tsc-esm-fix --tsconfig tsconfig.json",
+ "patch:esm-js": "npx tsc-esm-fix --tsconfig=tsconfig.mjs.json",
30
"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",
+ "build:esm": "npx tsc -p tsconfig.mjs.json && npm run patch:esm-js && npm run patch:esm-type",
+ "build:cjs": "npx tsc",
33
"build": "npm run clear && npm run build:esm && npm run build:cjs",
34
"test": "npx mocha"
35
},
0 commit comments