-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
[Feature Request]: --no-cache flag for webpack@5 #1095
Comments
This is actually good if it's not present already! It will be too handy for the user to use it from CLI |
We can add the cache flag for the new cli |
Would be great to at least prepare a PR for this before webpack@5 hits stable, but please do whatever you see most appropriate here |
Can do both |
Thank you very much 🙏 ❤️ |
Is your feature request related to a problem? Please describe.
I often (well, from time to time) find myself editing node_modules by hand to debug a particular problem with some dependency. And webpack@5 with its persistent caching might make this process rather difficult - because it would require changing a config.
Actually you already have
--cache=false
here, but I'm not sure if this right now can disable persistent caching and Tobias has kinda redirected me to here with this feature request. If this is already handled - then sorry for reporting and feel free to close this.Describe the solution you'd like
a special CLI flag that would disable persistent caching for a current build
Describe alternatives you've considered
n/a
Additional context
webpack/webpack#9802 (comment)
The text was updated successfully, but these errors were encountered: