webpack-contrib/cache-loader

invalidate with cache

brandonkal opened this issue · 3 comments

  • Operating System: MacOS
  • Node Version: 10
  • NPM Version: 6
  • webpack Version: 4
  • cache-loader Version: latest

Feature Proposal

Serialize this.loaders options to invalidate cache when things change.
The remaining request looks like this:

file??ref--8-0!file??ref--8-1!file??ref--8-2!file

It is not clear if those refs change when loader options change.

Feature Use Case

As far as I can tell, cache-loader does not account for changes in options passed to loaders in the chain.

Can you create minimum reproducible test repo?

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!

Sorry, yes we should fix a bug