Bumps webpack from 4.44.2 to 5.71.0.
Release notes
Sourced from webpack's releases.
v5.71.0
Features
- choose smarter default for
uniqueName when using a output.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 returns null
- 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
v5.70.0
Features
- update node.js version constraints for ESM support
- add
baseUri to entry options to configure a static base uri (the base of new URL())
- alphabetically sort exports in namespace objects when possible
- add
__webpack_exports_info__.name.canMangle
- add proxy support to
experiments.buildHttp
import.meta.webpackContext as ESM alternative to require.context
- handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module
Bugfixes
- fix problem when assigning
global to a variable
- fix crash when using
experiments.outputModule and loaderContext.importModule with multiple chunks
- avoid generating progress output before the compilation has started (ProgressPlugin)
- fix handling of non-static-ESM dependencies with using TLA and HMR in the same module
- include the asset module filename in hashing
output.clean will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browser
Performance
- fix asset caching when using the BannerPlugin
Developer Experience
Contributing
... (truncated)
Commits
c2079f7 5.71.0
4a0937f Merge pull request #15578 from webpack/feat/catch-error-in-run-as-child
c3f5897 Merge pull request #15586 from webpack/bugfix/chunk-load-during-hmr
c4f1e4e Merge pull request #15611 from webpack/bugfix/esm-build-deps
ab40959 support node.js builtin modules in esm build dependencies
e1179bf 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-dependency
3929e68 fix discussions
129477d Merge pull request #15536 from webpack/fix/issue-15518
5d8a971 Merge pull request #15551 from webpack/fix/issue-15545
- Additional commits viewable in compare view
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps webpack from 4.44.2 to 5.71.0.
Release notes
Sourced from webpack's releases.
... (truncated)
Commits
c2079f75.71.04a0937fMerge pull request #15578 from webpack/feat/catch-error-in-run-as-childc3f5897Merge pull request #15586 from webpack/bugfix/chunk-load-during-hmrc4f1e4eMerge pull request #15611 from webpack/bugfix/esm-build-depsab40959support node.js builtin modules in esm build dependenciese1179bffix egde case where a HMR chunk is incorrectly downloaded when loading a unch...2c200d1Merge pull request #15585 from webpack/refactor/support-context-in-dependency3929e68fix discussions129477dMerge pull request #15536 from webpack/fix/issue-155185d8a971Merge pull request #15551 from webpack/fix/issue-15545Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)