Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

invalidate with cache #94

Open
brandonkal opened this issue Sep 18, 2019 · 3 comments
Open

invalidate with cache #94

brandonkal opened this issue Sep 18, 2019 · 3 comments

Comments

@brandonkal
Copy link

  • 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.

@alexander-akait
Copy link
Member

Can you create minimum reproducible test repo?

@alexander-akait
Copy link
Member

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

@alexander-akait
Copy link
Member

Sorry, yes we should fix a bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants