You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just updated to webpack v5, and unfortunately had to pull unused-webpack-plugin out of our plugins because it seems to be incompatible with the changes in v5. We're seeing the following error when including this plugin in our webpack configuration:
assets/node_modules/unused-files-webpack-plugin/lib/index__8.0.0__.js:105
compiler.plugin(`after-emit`, (compilation, done) =>
^
TypeError: compiler.plugin is not a function
at UnusedFilesWebpackPlugin.apply (assets/node_modules/unused-files-webpack-plugin/lib/index__8.0.0__.js:105:14)
at createCompiler (assets/node_modules/webpack/lib/webpack.js:69:12)
at create (assets/node_modules/webpack/lib/webpack.js:113:15)
at webpack (assets/node_modules/webpack/lib/webpack.js:137:31)
at f (assets/node_modules/webpack/lib/index.js:35:15)
The text was updated successfully, but these errors were encountered:
We just updated to webpack v5, and unfortunately had to pull
unused-webpack-plugin
out of our plugins because it seems to be incompatible with the changes in v5. We're seeing the following error when including this plugin in our webpack configuration:The text was updated successfully, but these errors were encountered: