You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now Kick removes the dist folder before each run of kick bundle.
I think we should move the responsibility of this task to Webpack.
We should try to minimize the amount of dependency on Kick if it's simple to implement.
Ideally, I could use kick as a boilerplate generator only if I wanted to (that's the most simple entry point for most devs).
varCleanPlugin=require('clean-webpack-plugin');
...
if(appEnv==='production'){config.plugins.push(// Remove build related foldersnewCleanPlugin(['dist']));}
Right now Kick removes the
dist
folder before each run ofkick bundle
.I think we should move the responsibility of this task to Webpack.
We should try to minimize the amount of dependency on Kick if it's simple to implement.
Ideally, I could use kick as a boilerplate generator only if I wanted to (that's the most simple entry point for most devs).
Ref:
https://github.com/johnagan/clean-webpack-plugin
The text was updated successfully, but these errors were encountered: