-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Prevent CleanWebpackPlugin webpack plugin from deleting webpack assets #35986
Conversation
In johnagan/clean-webpack-plugin#122 they recommend using different output folders for individual configs to mitigate the issue. Doesn't setting |
@gziolo In the example repo I'm already using different
The issue is caused by the
My understanding is that |
I took it for a spin and it works correctly. Let's land this change after rebase. GitHub reports some merge conflicts that need to be resolved manually. |
@kasparsd, can you rebase this PR so we could land it? |
c67e988
to
558fa01
Compare
@gziolo Thanks for the ping! Please let me know if this looks good now. |
Description
Fixes #35980.
How has this been tested?
The updated WP webpack configuration prevents the webpack assets from being deleted in the demo repository according to these GitHub action results.
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).