Skip to content

Commit c9ae7bb

Browse files
committed
Always remove old build files
1 parent 25cd450 commit c9ae7bb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"dist/*"
1818
],
1919
"scripts": {
20-
"buildd": "rollup -c",
21-
"build": "rollup -c; webpack --config ./webpack.config.js --mode production",
20+
"build": "rm -rf dist/*; rollup -c; webpack --config ./webpack.config.js --mode production",
2221
"ghp": "npm run build; rm -rf ../regl-scatterplot-ghp/*; touch ../regl-scatterplot-ghp/.nojekyll; cp -r docs/* ../regl-scatterplot-ghp/",
2322
"lint": "eslint src tests rollup.config.js webpack.config.js",
2423
"precommit": "NODE_ENV=production lint-staged; npm run test",

0 commit comments

Comments
 (0)