Webpack 5 has been released 🎉 the list of changes and new features is massive. The complete release note can be found here:
https://webpack.js.org/blog/2020-10-10-webpack-5-release/
On a short time the upgrade should improve a bit the build performance (at least in dev scenarios where some modules are built over and over) and the size of our bundles.
Some new features such as the module federation looks quite nice for our micro-frontends approach so the upgrade is also likely to yield advantages in the long-term perspective.
The upgrade plan is something like this:
1. Upgrade every plugins/loaders, replace or remove some of them
2. Deal with the changes of configuration
3. Deal with potential bugs (report/fix, cry a little and go back to step 1)
4. Upgrade to Webpack 5