•  
      request #17195 Upgrade to Webpack 5
    Infos
    #17195
    Thomas Gerbet (tgerbet)
    2021-03-29 15:44
    2020-10-12 14:22
    18164
    Details
    Upgrade to Webpack 5
    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
    • [ ] enhancement
    • [ ] internal improvement
    Dev tools
    Empty
    Empty
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-03-29
    Attachments
    Empty
    References
    Referencing request #17195

    Follow-ups