Packages

webpack

5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed

Your version

4.9.0

25 May 2018Where it was published

4.47.0 is the newest release of 4.x.

In short

7 new7 fixed3 internal

Release note

Features

  • BannerPlugin supports a function as banner option

  • Allow serve property in configuration schema

  • Add entryOnly option to DllPlugin to only expose modules in the entry point

  • Allow to choose between webpack-cli and webpack-command

  • Improve error message when JSON parsing fails

  • Allow BOM in JSON

  • Sort usedIds in records for stablility

Bugfixes

  • Align module not found error message with node.js

  • Fix behavior of splitChunks when 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)

  • runtimeChunk is even generated when all modules are moved by splitChunks (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.