Skip to content

Commit 145bc55

Browse files
committed
Clean
1 parent 06c7d2f commit 145bc55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"build": "webpack",
7+
"build": "npm run clean && webpack",
8+
"clean": "rimraf dist",
89
"lint": "eslint . && stylelint **/*.css",
910
"test": "echo \"Error: no test specified\" && exit 1"
1011
},
@@ -27,6 +28,7 @@
2728
"extract-css-chunks-webpack-plugin": "^2.0.18",
2829
"flush-css-chunks-webpack-plugin": "^0.1.0",
2930
"html-webpack-plugin": "^2.30.1",
31+
"rimraf": "^2.6.2",
3032
"style-loader": "^0.19.1",
3133
"stylelint": "^8.4.0",
3234
"stylelint-config-css-modules": "^1.1.0",

0 commit comments

Comments
 (0)