Packages

webpack

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

Your version

5.49.0

6 Aug 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

1 new1 faster3 fixed1 internal

Security

Release note

Features

  • Add experiments.buildHttp to build http(s):// imports instead of keeping them external

    • keeps a webpack.lock file with integrity and webpack.lock.data with cached content that should be committed

    • Automatically upgrades lockfile during development when remote resources change
      (might be disabled with experiments.buildHttp.upgrade: false)

    • Lockfile is frozen during production builds and usually no network requests are made
      (exception: Cache-Control: no-cache).

    • The webpack.lock.data persisting can be disabled with experiments.buildHttp.cacheLocation: false.
      That will will introduce a availability risk.
      (webpack cache will be used to cache network responses)

Bugfixes

  • Fix HMR infinite loop (again)

  • Fix rare non-determinism with splitChunks.maxSize introduces in the last release

  • Optional modules no longer cause the module to fail when bail is set

Performance

  • Limit the number of parallel generated chunks for memory reasons

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.