Packages

webpack

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

Your version

5.70.0

3 Mar 2022Where it was published

5.113.0 is the newest release of 5.x.

In short

7 new1 faster6 fixed2 changed

Security

Release note

Features

  • Update node.js version constraints for ESM support

  • Add baseUri to entry options to configure a static base uri (the base of new URL())

  • Alphabetically sort exports in namespace objects when possible

  • Add __webpack_exports_info__.name.canMangle

  • Add proxy support to experiments.buildHttp

  • import.meta.webpackContext as ESM alternative to require.context

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

Bugfixes

  • Fix problem when assigning global to a variable

  • Fix crash when using experiments.outputModule and loaderContext.importModule with multiple chunks

  • Avoid generating progress output before the compilation has started (ProgressPlugin)

  • Fix handling of non-static-ESM dependencies with using TLA and HMR in the same module

  • Include the asset module filename in hashing

  • output.clean will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browser

Performance

  • Fix asset caching when using the BannerPlugin

Developer Experience

  • Improve typings

Contributing

  • Capture caching errors when running the test suite

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.