webpack v5.0.0-beta.16 Release Notes

Release Date: 2020-05-05 // almost 4 years ago
  • ๐Ÿ”‹ Features

    • โž• added experimental "Module Federation" - a way to load modules from separate builds into one application
    • ๐Ÿ‘Œ improve error messages when wasm experiments are disabled
    • ๐Ÿ”ฆ expose some webpack options types in typings
    • โž• added more details to ProgressPlugin

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”จ refactor exports info logic for CommonJs exports
      • fixes a bug when using an export named default in CommonJs
    • record chunk id using chunk group name and index in it
      • fixes a bug when using HMR and split-chunked initial chunk
    • also set parents in module graph when using non-recursive module creation
      • fixes crash in harmony dependency when using this.loadModule with imports
    • ๐Ÿ›  force upgrade terser-webpack-plugin for memory leak bugfix
    • ๐Ÿ›  fix small non-monotony in the ProgressPlugin
    • track runtime modules that need a full hash and calculate it
      • fixes a bug where main.js is not updated on a HMR update
      • This caused that all previous HMR updates are applied on reload

    Contributing

    • โœ… CI tests node.js 14 instead of 13 now
    • ignore code coverage for timing dependent code

    Full Changelog

    Feedback