Closed Aghassi closed 3 years ago
https://github.com/danethurber/webpack-manifest-plugin/blob/4e02e21a61f2a7e41d36b0564d45c5f4932b0615/lib/plugin.js#L246
Webpack 5 throws a deprecation on this line, and I believe the remediation is to use NormalModule.getCompilationHooks as per the message I'm getting:
NormalModule.getCompilationHooks
(node:17698) DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader
yes, we should try to reduce as much DeprecationWarning as possible, but we need to make sure the code is still compatible with v4
Hey folks, please see #222 for updates on v5 support.
https://github.com/danethurber/webpack-manifest-plugin/blob/4e02e21a61f2a7e41d36b0564d45c5f4932b0615/lib/plugin.js#L246
Webpack 5 throws a deprecation on this line, and I believe the remediation is to use
NormalModule.getCompilationHooks
as per the message I'm getting: