webpack v5.0.0-beta.31 Release Notes

Release Date: 2020-09-17 // over 3 years ago
  • ๐Ÿ”‹ Features

    • ๐Ÿ”จ refactor module concatenation to be more flexible
      • support non-namespace exports
      • allow to concatenate externals
      • allow to concatenate json modules
    • โž• add a breaking change hint when modules can't be resolve because requests are expected to be fully specified
    • โž• add support for imports field in package.json
    • โž• add resolve.fallback option and recommend that for polyfilling

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  fixes parsing of this when in an arrow IIFE
    • ๐Ÿ›  fix caching in RealContentHashPlugin when assets contain their own hash
    • ๐Ÿ›  fix chunk group connections for cases where referenced chunk group is sometimes already included
    • [Module Federation] fix circular references of containers when using async externals
      • fixes a hanging promise
    • [Module Federation] fix circular dependencies of modules between containers
      • fixes another hanging promise
    • [Module Federation] fix crash when no sharing is used in the container at all

    ๐ŸŽ Performance

    • ๐Ÿ‘Œ improve performance of deprecated needRebuild method

    ๐Ÿ—„ Deprecations

    • ๐Ÿ—„ officially deprecate needRebuild in favor of needBuild