Packages

webpack

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

Your version

4.27.0

4 Dec 2018Where it was published

4.47.0 is the newest release of 4.x.

In short

3 new4 fixed

Release note

Features

  • When using functions as plugins they are now also called with the compiler as parameter

    • This make it possible to use arrow functions as plugins

  • splitChunks.maxSize now emits a warning when minSize > maxSize

  • Loaders have now access to a getResolve method to create their own resolver function with custom options

Bugfixes

  • splitChunks.cacheGroups.xxx.enforce now behaves as documented and enforce chunk creation

  • splitChunks.cacheGroups.xxx.enforce now no longer deletes minSize for maxSize

  • Fixes a bug where splitChunks cause cacheGroups to be incorrectly merged when using the same name

    • now conditions are considered per cacheGroup

    • the correct cache group comment is displayed in stats

  • Fixes a bug which causes providedExports not to be updated on rebuilds when using export * from

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.