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
[5.0.0] TypeError: webpack.HashedModuleIdsPlugin is not a constructor #11631
Comments
I'm getting an other error for me :
|
https://webpack.js.org/migrate/5/#update-outdated-options Further, the recommend solution with webpack 5 is using "deterministic", which is the default in production mode. |
Answer above, it is breaking change, I think you don’t need this plugin anymore, long term cache is working out of box, anyway if you use this plugin under ids property Line 290 in 37a6768
|
If the plugin was called "HashedModuleIdsPlugin", can we make the name consistent in the migration guide https://webpack.js.org/migrate/5/#update-outdated-options which currently states "HashedModulesPlugin". Thanks |
@dvopalecky I've filed a pull request to fix it. |
Bug report
What is the current behavior?
I get this error when building the project after upgrading to 5.0.0:
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
At least migration information should be shown on screen or in the docs.
Other relevant information:
webpack version: 5.0.0
Node.js version: 14.12.0
Operating System: Windows 10 64 bit
Additional tools: npm
The text was updated successfully, but these errors were encountered: