Description
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)