We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03efa9b commit efcdc75Copy full SHA for efcdc75
package.json
@@ -31,7 +31,7 @@
31
"lint": "eslint --max-warnings 0 .",
32
"typecheck": "tsc --noEmit",
33
"test": "vitest run",
34
- "build": "rm -rf dist/* && npm run build:cjs && npm run build:mjs && npm run build:node-mjs && npm run build:node-cjs",
+ "build": "rm -rf dist/* && node --run build:cjs && node --run build:mjs && node --run build:node-mjs && node --run build:node-cjs",
35
"build:cjs": "tsc -p ./tsconfig.cjs.json --outDir ./dist/cjs",
36
"build:node-cjs": "tsc -p ./tsconfig.cjs.json --target es2022 --outDir ./dist/node-cjs",
37
"build:mjs": "tsc -p ./tsconfig.esm.json --outDir ./dist/mjs && mv ./dist/mjs/index.js ./dist/mjs/index.mjs && mv ./dist/mjs/index.d.ts ./dist/mjs/index.d.mts",
0 commit comments