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
V2 dist folder content is deleted before webpack start building #133
Comments
I must say I am confused about how I wouldn't be against the idea of adding a custom hook option, but I'd like to understand the use case for this first. Is it possible for you to provide a minimal example to show what issue you are running into? |
Ok, let say my app is working well on production and I have new version of the app to build and push. To prevent that, clean-webpack-plugin should wait for build success before removing dist folder content. That way the new build will replace the removed one and the app will never be broken in case the build add an error... |
Thanks for the explanation, it makes a lot of sense and we already do this for Any thoughts of why we wouldn't always use the |
Nice!!!! That was fast... thank you |
When can we expect a release for this? |
Thanks @johnagan, it's working great now ! |
Issue description or question
Hi,
I've read the doc and a bunch of closed issue about this, but I didn't get how to replicate beforeEmit of V1?
Just need to stop removing all assets before webpack even start to bundle them...
Thank you so much for you help.
Cheers
Webpack Config
Environment
The text was updated successfully, but these errors were encountered: