Packages

webpack

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

Your version

5.96.0

31 Oct 2024Where it was published

5.113.0 is the newest release of 5.x.

In short

5 new22 fixed

Security

Release note

Bug Fixes

  • Fixed Module Federation should track all referenced chunks

  • Handle Data URI without base64 word

  • HotUpdateChunk have correct runtime when modified with new runtime

  • Order of chunks ids in generated chunk code

  • No extra Javascript chunks when using asset module as an entrypoint

  • Use optimistically logic for output.environment.dynamicImport to determine chunk format when no browserslist or target

  • Collision with global variables for optimization.avoidEntryIife

  • Avoid through variables in inlined module

  • Allow chunk template strings in output.devtoolNamespace

  • No extra runtime for get javascript/css chunk filename

  • No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS

  • Avoid cache invalidation using ProgressPlugin

  • Increase parallelism when using importModule on the execution stage

  • Correctly parsing string in export and import

  • Typescript types

  • [CSS] css/auto considers a module depending on its filename as css (pure CSS) or css/local, before it was css/global and css/local

  • [CSS] Always interpolate classes even if they are not involved in export

  • [CSS] No extra runtime in Javascript runtime chunks for asset modules used in CSS

  • [CSS] No extra runtime in Javascript runtime chunks for external asset modules used in CSS

  • [CSS] No extra runtime for the node target

  • [CSS] Fixed url()s and @import parsing

  • [CSS] Fixed - emit a warning on broken :local and :global

New Features

  • Export CSS and ESM runtime modules

  • Single Runtime Chunk and Federation eager module hoisting

  • [CSS] Support /* webpackIgnore: true */ for CSS files

  • [CSS] Support src() support

  • [CSS] CSS nesting in CSS modules

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.