Could we add it to starter? https://github.com/johnagan/clean-webpack-plugin In webpack.common.js ``` new CleanWebpackPlugin(['*'], { root: helpers.root('dist') }), ```
Activity
IAMtheIAM commentedon May 16, 2016
You could do the same with just NPM scripts. Just add a "prestart" task, and add a "clean:dist" task
Now anytime you execute
start, it will clean the "dist" folder firstmorriq commentedon May 16, 2016
Nice :). Thx. I have made this modification.
IAMtheIAM commentedon May 16, 2016
You're Welcome :-)