Packages

webpack

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

Your version

5.21.0

5 Feb 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

3 new1 fixed2 changed

Security

2 advisories affect 5.21.0; 5.94.0 fixes them

Release note

Features

  • Add __webpack_base_uri__ to change base URI at runtime

  • Add stats.errorDetails: "auto" to show error details automatically when there are only 1 or 2 errors

Bugfixes

  • Fix a hanging build when using the persistent cache without a package.json in cwd

Developer Experience

  • Add typings for the stats JSON

  • Change default for stats.errorDetails to "auto" when using toString

  • Highlight important text in error message with colors

    • e. g. Did you mean ...? and similar hints are shown in green

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.