create-wasm-app
create-wasm-app copied to clipboard
Bump webpack from 4.43.0 to 4.46.0
Bumps webpack from 4.43.0 to 4.46.0.
Release notes
Sourced from webpack's releases.
v4.46.0
Bugfixes
- fix behavior of defaults for
resolve.rootsto be backward-compatiblev4.45.0
Features
- resolve server-relative requests relative to project context by default
Bugfixes
- fix a bug where
splitChunkminSizeis not handled correctly- fix a bug where the order of
splitChunkcacheGroupsis not handled correctlyv4.44.2
Bugfixes
- make sure to generate correct chunk connection for blocks that are only connected in some runtimes
- fixes a bug where filename contains undefined hash at runtime
v4.44.1
Bugfixes
- fix bug in sideEffects optimization when using
export * from "non-esm"and a default export.- add missing optional peerDependencies for webpack-cli and webpack-command to support Yarn 2
v4.44.0
Features
- Improve
sideEffectsflag behavior when dynamic modules are part of the tree
- Fixes a bug which causes empty modules (or type-only modules) to "break" Tree Shaking
- add
splitChunks.enforceSizeThresholdto allow enfore splitting larger chunks unrelated from other limiations
- Not set by default to avoid breaking change
- It will be set by default to 50k in webpack 5
- It's recommended to set it in webpack 4 too
- add support for
resolve.rootsand defaultresolve.roots: [context]
- This allows to resolve server-relative urls (e.g.
/src/abc) to the project root (or other locations when configured)- This allows to use loaders that rely on that behavior
Bugfixes
- fix bug where splitChunks produced non-optimal results when
minSizeis set to0
- This lead to
NaNs in some places which breaks ordering- Fix bug which lead to HMR not working for splitChunks in entrypoints
- force update watchpack and chokidar for chokidar bugfix which causes files to stop being watched
Commits
444e59f4.46.0758bb25Merge pull request #12387 from webpack/bugfix/1238679de1a2enable backward-compatibility for resolve.rootsef75c04Fix filename in azure pipeline7714953add test case03313224.45.0e43bb4bMerge pull request #12372 from webpack/bugfix/split-chunks-min-size-44de8451fix bug where cacheGroup index was inverted3f69f3cfix bug where module size is added multiple times to the split chunk infoc572c15Merge pull request #11831 from Pyrolistical/patch-1- Additional commits viewable in compare view
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.
If all status checks pass Dependabot will automatically merge this pull request.
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)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill 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:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)