Packages

webpack

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

Your version

5.69.0

15 Feb 2022Where it was published

5.113.0 is the newest release of 5.x.

In short

5 new11 fixed1 changed

Security

Release note

Features

  • Automatically switch to an ESM compatible environment when enabling ESM output mode

  • Handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module

  • Add util/types to node.js built-in modules

  • Add __webpack_exports_info__.<name>.canMangle api

Bugfixes

  • Fix bug in chunk graph generation which leads to modules being included in chunk desprite them being already included in parent chunks

  • Avoid writing more than 2GB at once during cache serialization (as workaround for node.js/libuv bug on MacOS)

  • Fix handling of whitespaces in semver ranges when using Module Federation

  • Avoid generating hashes which contain only numbers as they likely conflict with module ids

  • Fix resource name based placeholders for data uris

  • Fix cache serialization for context elements

  • Fix passing of stage option when instrumenting plugins for the ProfilingPlugin

  • Fix tracking of declarations in concatenated modules to avoid conflicts

  • Fix unstable mangling of exports

  • Fix handling of # in paths of loaders

  • Avoid unnecessary cache update when using experiments.buildHttp

Contributing

  • Update typescript and jest

Developer Experience

  • Expose some additional typings for usage in webpack-cli

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.