webpack v5.0.0-beta.24 Release Notes

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

    • ๐Ÿ†• new stats.relatedAssets option to show assets that are related to other assets (like SourceMap, compressed version, etc.)
    • โœ‚ removed assets table in favor of assets list in stats text
    • ๐Ÿ”€ assetInfo from emitAsset will now merge when nested objects or arrays are used
    • โœ‚ remove experiments.importAsync and enable it by default
    • โœ‚ remove experiments.importAwait
    • ๐Ÿฑ [query] is now a valid placeholder when for paths based on a filename like assets
    • output.assetModuleFilename includes [query] now
      • This allows to use querystrings with asset modules, e. g. when using some kind of server-side processing layer for assets

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  fix a problem were context modules misses some items when remove.modules is used
    • ๐Ÿ›  fixes a problem when multiple webpack runtimes try to load the same script (e. g. as script external with Module Federation)
    • ๐Ÿ›  fix a problem where shareScope is ignored in ModuleFederationPlugin and SharePlugin
    • ๐Ÿ—„ exclude deprecated --module-rules-options from Cli arguments
    • ๐Ÿ›  fixes problems with relative paths when using nested or weird entry names (for web, node, webworker)
    • ๐Ÿ›  fix version comparsion for Module Federation