Skip to content

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
1 participant