Sourced from webpack's releases.
v5.71.0
Features
- choose smarter default for
uniqueName
when using aoutput.library
which includes placeholders- add support for expressions with
in
of a imported binding- generate UMD code with arrow functions when possible
Bugfixes
- fix source map source names for ContextModule to be relative
- fix
chunkLoading
option in module module- fix edge case where
evaluateExpression
returnsnull
- retain optional chaining in imported bindings
- include runtime code for the base URI even if not using chunk loading
- don't throw errors in persistent caching when importing node.js builtin modules via ESM
- fix crash when using
lazy-once
Context modules- improve handling of context modules with multiple contexts
- fix race condition HMR chunk loading when importing chunks during HMR updating
- handle errors in
runAsChild
callback
c2079f7
5.71.04a0937f
Merge pull request #15578 from webpack/feat/catch-error-in-run-as-childc3f5897
Merge pull request #15586 from webpack/bugfix/chunk-load-during-hmrc4f1e4e
Merge pull request #15611 from webpack/bugfix/esm-build-depsab40959
support node.js builtin modules in esm build dependenciese1179bf
fix egde case where a HMR chunk is incorrectly downloaded when loading a unch...2c200d1
Merge pull request #15585 from webpack/refactor/support-context-in-dependency3929e68
fix discussions129477d
Merge pull request #15536 from webpack/fix/issue-155185d8a971
Merge pull request #15551 from webpack/fix/issue-15545