add experiments.lazyCompilation.imports to disable lazy compilation of import()s
add experiments.lazyCompilation.test to allow custom selection of modules that should be lazy compiled
When using profile: true resp. --profile webpack will now print a summary of expensive modules or loaders
Bugfixes
fix that experiments.lazyCompilation.client now works as intended
fix a bug which causes runtime requirements to be missing e. g. __webpack_require__ is not defined
Developer Experience
expose EntryObject type in typings
remove pkg-dir dependency
v5.19.0
Features
allow to set chunk name for exposes for ModuleFederationPlugin
Bugfixes
add a missing simicolon in runtime code
improve consistency of top level await with other implementations and the spec
make options for ProgressPlugin optional in typings
Performance
try to avoid unnecessary allocations
v5.18.0
Internals
refactor hashing to move the responsibility of hashing module exports info and referenced modules from Dependencies to the Module
Hashing in Dependencies can be much cheaper now (could improve performance when many dependencies are used that point to the same module, like many references to React.createElement)
Fixes bugs where Dependencies forgot to hash some details about the referenced module
The new model elimiates the potential of such bugs are Dependencies have less responsibilities now
v5.17.0
Features
add experimental lazy compilation via experiments.lazyCompilation: true for web and node targets
compiles entrypoints and import()s only when they are accessed
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps webpack from 5.11.0 to 5.20.0.
Release notes
Sourced from webpack's releases.
... (truncated)
Commits
181e045
5.20.05c67208
Merge pull request #12565 from webpack/bugfix/125620856214
Merge pull request #12557 from webpack/feature/profile36306a0
Merge pull request #11561 from smelukov/cleane5cca2f
fix #12562c4c22ec
Merge pull request #12553 from Knagis/lazy-compile-options1c66dd1
Merge pull request #12538 from TrySound/escalade9f07ecb
methods in OutputFileSystem must be optional to avoid breaking change4e99d94
refactor to read directories in parallelf2064b8
Remove temporary filesDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)