We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06c7d2f commit 145bc55Copy full SHA for 145bc55
package.json
@@ -4,7 +4,8 @@
4
"description": "",
5
"main": "index.js",
6
"scripts": {
7
- "build": "webpack",
+ "build": "npm run clean && webpack",
8
+ "clean": "rimraf dist",
9
"lint": "eslint . && stylelint **/*.css",
10
"test": "echo \"Error: no test specified\" && exit 1"
11
},
@@ -27,6 +28,7 @@
27
28
"extract-css-chunks-webpack-plugin": "^2.0.18",
29
"flush-css-chunks-webpack-plugin": "^0.1.0",
30
"html-webpack-plugin": "^2.30.1",
31
+ "rimraf": "^2.6.2",
32
"style-loader": "^0.19.1",
33
"stylelint": "^8.4.0",
34
"stylelint-config-css-modules": "^1.1.0",
0 commit comments