We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc48b0b commit a2f1e09Copy full SHA for a2f1e09
package.json
@@ -6,8 +6,8 @@
6
"main": "dist/index.js",
7
"module": "dist-esm/index.js",
8
"scripts": {
9
- "prebuild": "rimraf dist/ dist-esm/",
10
- "build": "npm run build:cjs && npm run build:es",
+ "clean": "rimraf dist/ dist-esm/",
+ "build": "npm run clean && npm run build:cjs && npm run build:es",
11
"build:cjs": "tsc -p tsconfig.json",
12
"build:es": "tsc -p tsconfig-esm.json",
13
"postbuild": "npm run bundle",
0 commit comments