Skip to content

Commit ec2c657

Browse files
committed
chore(script): clean before build
1 parent 2a92429 commit ec2c657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"preinstall": "npx only-allow pnpm",
99
"postinstall": "simple-git-hooks",
1010
"dev": "webpack --config webpack.dev.js --watch",
11-
"build": "webpack --config webpack.prod.js",
11+
"build": "rimraf dist && webpack --config webpack.prod.js",
1212
"clean": "rimraf dist",
1313
"format": "prettier --write \"**/*.{js,ts,tsx,css}\"",
1414
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix"

0 commit comments

Comments
 (0)