Skip to content
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

Drop support for cache-loader on webpack 5+ #603

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nVitius
Copy link

@nVitius nVitius commented Aug 17, 2021

Since the release of webpack 5, cache-loader has been deprecated. It currently continues to work with webpack 5, but it has a peerDependency on webpack 4. This causes installs to fail on newer versions of npm 7.

I have a PR open on vue-cli (which intends to support webpack 5) that drops usage of cache-loader in favor of the new filesystem cache introduced with webpack 5.

The vue-ui package (one of the packages in @vue/cli) depends on this plugin.

@nVitius
Copy link
Author

nVitius commented Aug 19, 2021

@Akryum Can you take a look at this PR?

Alternatively, we can selectively use cache-loader only if the package is available. Let me know and I can make that change.

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

Successfully merging this pull request may close these issues.

1 participant