webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
4.47.0 is the newest release of 4.x.
In short
7 new7 fixed3 internal
Release note
Features
BannerPluginsupports a function asbanneroptionAllow
serveproperty in configuration schemaAdd
entryOnlyoption toDllPluginto only expose modules in the entry pointAllow to choose between
webpack-cliandwebpack-commandImprove error message when JSON parsing fails
Allow BOM in JSON
Sort
usedIdsinrecordsfor stablility
Bugfixes
Align module not found error message with node.js
Fix behavior of
splitChunkswhen request limit has reached (caused suboptimal splitting)Fix handling of RegExp in records (caused absolute path in records)
Fix handling of circular chunks (caused missing
__webpack_require__.e)runtimeChunkis even generated when all modules are moved bysplitChunks(caused multiple runtime chunks instead of single one)String ids are no longer recorded (caused duplicate/wrong chunk ids)
Fix link to migration guide in error message
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.