Packages

webpack

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

Your version

5.99.0

7 Apr 2025Where it was published

5.113.0 is the newest release of 5.x.

In short

3 new2 faster14 fixed1 internal

Security

Release note

Fixes

  • Fixed a lot of types

  • Fixed runtime error when using asset module as entrypoint and runtimeChunk

  • JSON generator now preserves __proto__ property

  • Fixed when entry module isn't executed when targeting webworker with a runtime chunk

  • Do not duplicate modules with import attributes and reexport

  • The module and module ESM libraries have been union and code generation has been improved

  • Use a valid output path for errored asset modules

  • Remove BOM from JavaScript and CSS files when loader was not used

  • Create export for externals for module/modern-module library

  • Export unprovided variables for commonjs-static library

  • Forward semicolons from meta.webpackAST

  • Use xxhash64 for cache.hashAlgorithm when experiments.futureDefaults enabled

  • Fixed profiling plugin for CSS

  • Avoid extra module.export output for CSS module

Features

  • Add dead control flow check

  • Handle new Worker(import.meta.url) and new Worker(new URL(import.meta.url)) syntax

  • Added ability to generate custom error content for generators

Performance Improvements

  • Fixed excessive calls of getAllReferences

  • Optimize loc for monomorphic inline caching

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.