webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 4.41.1 to 4.47.0
14 releases in betweenevery note read
Security
- 4.41.3
Force upgrade terser-webpack-plugin dependency for security fix (not affecting webpack)
Release by release
- New
Add support for md4 in Node >=18.
- New
- Fixed
Fix behavior of defaults for
resolve.rootsto be backward-compatible
- Fixed
- New
Resolve server-relative requests relative to project context by default
- Fixed
Fix a bug where
splitChunkminSizeis not handled correctly - Fixed
Fix a bug where the order of
splitChunkcacheGroupsis not handled correctly
- New
- Fixed
Make sure to generate correct chunk connection for blocks that are only connected in some runtimes
- Fixed
- New
Add missing optional peerDependencies for webpack-cli and webpack-command to support Yarn 2
- Fixed
Fix bug in sideEffects optimization when using
export * from "non-esm"and a default export.
- New
- New
Improve
sideEffectsflag behavior when dynamic modules are part of the tree - New
Add
splitChunks.enforceSizeThresholdto allow enfore splitting larger chunks unrelated from other limiations - New
Add support for
resolve.rootsand defaultresolve.roots: [context] - Fixed
Fix bug where splitChunks produced non-optimal results when
minSizeis set to0 - Fixed
Fix bug which lead to HMR not working for splitChunks in entrypoints
- Fixed
Force update watchpack and chokidar for chokidar bugfix which causes files to stop being watched
- New
- New
Add
module.hot.invalidate()to HMR API
- New
- Fixed
Update webassemblyjs dependencies for instruction update
- Fixed
Update mkdirp dependency for security reasons
- Fixed
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.