Packages

webpack

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

Your version

5.16.0

19 Jan 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

4 new2 fixed2 changed

Security

2 advisories affect 5.16.0; 5.94.0 fixes them

Release note

Features

  • Add __webpack_is_included__("./some-module") which returns true when the module is bundled and false when not

  • Priorize eager shared modules over normal shared modules (with the same version), as they are loaded anyway

  • Add library.type: "assign-properties" which merges all exports into a global variable

  • Allow optimization.innerGraph for new URL()

    • This allows to detect which URLs are used and drop the module and asset when they are not.

Bugfixes

  • Only return exports from runtime when needed

    • This allows to use experiments.outputModule: true with optimization.runtimeChunk

  • Fix a bug that splitChunk.reuseExistingChunk doesn't work for entrypoints

    • This optimized an edge case where a nearly empty entrypoint is created when an entrypoint contains only vendor modules

Developer Experience

  • Include plugin names in deprecation message for "NormalModuleFactory.xxx is no longer a waterfall hook"

  • Improve error message when passing an invalid library name

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.