Packages

webpack

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

Your version

5.65.0

6 Dec 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

4 new1 faster2 fixed3 changed

Security

Release note

Features

  • Static evaluation understands undefined now

  • Reduce container entry code by a few chars

  • Use template literals when available and they make sense

Bugfixes

  • Handle singleton flag without requiredVersion in Module Federation

  • Upgrade watchpack for context time info bugfix

Performance

  • Improve RegExp in error message formating for non-quadratic performance

Developer Experience

  • Automatically insert brackets when output.globalObject contains a non-trival expression

  • Show error when using script type external with invalid syntax

  • Expose types for Resolver, StatsOptions and ResolvePluginInstance

Preparations for the future

  • hashDigestLength will default to 16 in webpack 6 (experiments.futureDefaults)

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.