webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
3.12.0 is the newest release of 3.x.
In short
7 breaking8 new8 fixed1 internal
- Breaking
node_modulesno longer mangle to~in stats - Breaking
sourceMapFilenamenow supports[contenthash] - Breaking
Optimization plugins now only affect the current compilation
- Breaking
Context now also include index files
- Breaking
Require.resolve evaluate truthy
- Breaking
Child compilations get records and cache assigned (they need a unique name)
- Breaking
Set is used for Child.modules, Module.chunks, Reason.chunks
Release note
Changes from 2.6.1 to 3.0.0
Features
- Breaking
node_modulesno longer mangle to~in stats Timeout for HMR requests is configurable
Added experimental Scope Hoisting (
webpack.optimize.ModuleConcatenationPlugin)Some performance improvements
Added
output.libraryExportto select an export for the library- Breaking
sourceMapFilenamenow supports[contenthash] module.noParsesupports functionsAdd
node: falseoption to disable all node specific additions
Bugfixes
Add workaround for breakpoints in eval source maps (chrome)
Avoid creating redundant connections in chunk graph
Enable chunk modules in stats by default
Add special behavior when using CommonsChunkPlugin with only
asyncoptionError is shown when hot-only HMR fails
Fixed a few issues with weird stats output [breaking change]
Fixed a bug in occurrence order plugin [breaking change]
- Breaking
Optimization plugins now only affect the current compilation
- Breaking
Context now also include index files
- Breaking
Require.resolve evaluate truthy
Import order no longer adds to hash
Hashing for RawModule fixed
Internal changes
- Breaking
Child compilations get records and cache assigned (they need a unique name)
- Breaking
Set is used for Child.modules, Module.chunks, Reason.chunks
Changes from 3.0.0-rc.2 to 3.0.0
Bugfixes
Fix duplicate dependencies in ConcatenatedModule
Hashing for RawModule fixed
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.