webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
4.47.0 is the newest release of 4.x.
In short
5 deprecated3 new6 fixed1 internal
- Deprecated
Deprecated
Dependency.comparein favor ofcompareLocations - Deprecated
optimization.namedModulesis now deprecated - Deprecated
optimization.hashedModuleIdsis now deprecated - Deprecated
optimization.namedChunksis now deprecated - Deprecated
optimization.occurrenceOrderis now deprecated
Release note
Features
Add wasm support for
electron-renderertargetAdd
optimization.moduleIdsandoptimization.chunkIdsoptions to replace other options
Bugfixes
Fix order of side effect evaluation for exported dependencies in side-effect-free modules
Support the case when passing an array to
output.library.rootand using a devtoolFix a HMR logging message issue in browser where
err.stackis not setAdd missing default extensions to the DllReferencePlugin
module/chunk ids in Stats now sort numerical when they are numbers
Fix lost chunk reasons when using
optimization.splitChunks.maxSizeFix cases where
Dependency.locis a string instead of an object
Deprecations
- Deprecated
Deprecated
Dependency.comparein favor ofcompareLocations - Deprecated
optimization.namedModulesis now deprecated - Deprecated
optimization.hashedModuleIdsis now deprecated - Deprecated
optimization.namedChunksis now deprecated - Deprecated
optimization.occurrenceOrderis now deprecated
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.