webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
4.47.0 is the newest release of 4.x.
In short
1 new
Release note
Features
Adds asset info for emitted assets
new methods allow easy emitting/updating of assets
compilation.emitAsset/updateAsset(instead of accessing the Objectcompilation.assets)new getter methods to get assets
compilation.getAssets()andcompilation.getAsset(name)3 flags in asset info:
immutable: when set an asset can be cache infinitelydevelopment: when set an asset is some kind of development tool (i. e. a SourceMap)hotModuleReplacement: when set an asset is generated for an hot update
Stats expose
infoobject in assetsString version of Stats show flags
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.