Skip to content

Deprecation warning with webpack 5.42.0 #106

Open
@DerZade

Description

@DerZade

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];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions