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

Module.issuer is deprecated in Webpack v5 #42

Open
arempe93 opened this issue Apr 25, 2020 · 0 comments · May be fixed by #46
Open

Module.issuer is deprecated in Webpack v5 #42

arempe93 opened this issue Apr 25, 2020 · 0 comments · May be fixed by #46

Comments

@arempe93
Copy link

(node:87351) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
    at Function.getModuleGraphForModule (<project>/node_modules/webpack/lib/ModuleGraph.js:1339:10)
    at NormalModule.get issuer [as issuer] (<project>/node_modules/webpack/lib/Module.js:236:22)
    at <project>/node_modules/duplicate-package-checker-webpack-plugin/lib/index.js:105:29
    at Set.forEach (<anonymous>)
    at <project>/node_modules/duplicate-package-checker-webpack-plugin/lib/index.js:74:25
    at _next3 (eval at create (<project>/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:8:1)
    at eval (eval at create (<project>/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:22:1)
    at <project>/node_modules/html-webpack-plugin/index.js:290:11
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

let issuer =
module.issuer && module.issuer.resource
? cleanPathRelativeToContext(module.issuer.resource)
: null;
entry.issuer = issuer;

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 a pull request may close this issue.

1 participant