-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Scripts: Clean up the build folder via clean-webpack-plugin #23135
Conversation
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
Good thinking, it’s quite annoying when testing that old files remain in the build folder🙁 I will test tomorrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, I really like how it works 💯
Should we add it for the Gutenberg project as well in a follow-up PR (it uses a different config file for webpack)? :)
Maybe? Currently is uses Lines 193 to 194 in 5ed6b58
|
Both are unrelated to webpack:
Webpack controls the |
Description
Adds clean-webpack-plugin as a default plugin to webpack config.
Fixes #23134.
How has this been tested?
Types of changes
Bug fix
Checklist: