-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add clean-script #113
Add clean-script #113
Conversation
"version-check": "node bin/version-check.js" | ||
"build": "npm run clean && npm run version-check && NODE_ENV=production webpack --verbose --display-error-details --progress --colors --config src/config/webpack.prod.config.babel.js", | ||
"version-check": "node bin/version-check.js", | ||
"clean": "rm -rf ./dist/*.{css,js,map} ./src/webpack-assets.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this work on Windows? Think of the contributors!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added rimraf instead.
r+wc |
ef163a4
to
1be022d
Compare
"version-check": "node bin/version-check.js" | ||
"build": "npm run clean && npm run version-check && NODE_ENV=production webpack --verbose --display-error-details --progress --colors --config src/config/webpack.prod.config.babel.js", | ||
"version-check": "node bin/version-check.js", | ||
"clean": "rimraf './dist/*+(css|js|map)' './src/webpack-assets.json'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
Fixes mozilla/addons#5663