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
- ๐จ refactor module concatenation to be more flexible