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

Deprecation warning with webpack 5.42.0 #106

Open
DerZade opened this issue Jul 3, 2021 · 1 comment
Open

Deprecation warning with webpack 5.42.0 #106

DerZade opened this issue Jul 3, 2021 · 1 comment

Comments

@DerZade
Copy link

DerZade commented Jul 3, 2021

I get an deprecation warning when using this plugin with webpack 5.42.0:

[DEP_WEBPACK_COMPILATION_CACHE] DeprecationWarning: Compilation.cache was removed in favor of Compilation.getCache()

compilation.cache seems to be used multiple times within loader.js:

if (compilation.cache) {
if (!compilation.cache[subCache]) compilation.cache[subCache] = {};
compilation.cache = compilation.cache[subCache];

@peteringram0
Copy link

Also getting this. Doesn't seem to be a fix on the horizon though.

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