We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could we add it to starter? https://github.com/johnagan/clean-webpack-plugin
In webpack.common.js
new CleanWebpackPlugin(['*'], { root: helpers.root('dist') }),
The text was updated successfully, but these errors were encountered:
You could do the same with just NPM scripts. Just add a "prestart" task, and add a "clean:dist" task
"prestart": "npm run clean:dist", "clean:dist": "npm run rimraf -- dist",
Now anytime you execute start, it will clean the "dist" folder first
start
Sorry, something went wrong.
Nice :). Thx. I have made this modification.
You're Welcome :-)
No branches or pull requests
Could we add it to starter? https://github.com/johnagan/clean-webpack-plugin
In webpack.common.js
The text was updated successfully, but these errors were encountered: