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