Packages

webpack

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

Your version

5.92.0

11 Jun 2024Where it was published

5.113.0 is the newest release of 5.x.

In short

12 new18 fixed

Security

Release note

Bug Fixes

  • Correct tidle range's comutation for module federation

  • Consider runtime for pure expression dependency update hash

  • Return value in the subtractRuntime function for runtime logic

  • Fixed failed to resolve promise when eager import a dynamic cjs

  • Avoid generation extra code for external modules when remapping is not required

  • The css/global type now handles the exports name

  • Avoid hashing for @keyframe and @property at-rules in css/global type

  • Fixed mangle with destructuring for JSON modules

  • The stats.hasWarnings() method now respects the ignoreWarnings option

  • Fixed ArrayQueue iterator

  • Correct behavior of __webpack_exports_info__.a.b.canMangle

  • Changed to the correct plugin name for the CommonJsChunkFormatPlugin plugin

  • Set the chunkLoading option to the import when environment is unknown and output is module

  • Fixed when runtimeChunk has no exports when module chunkFormat used

  • Fixed parsing minimized CSS import

  • URLs in CSS files now have correct public path

  • The css module type should not allow parser to switch mode

  • Improved context module types

New Features

  • Added platform target properties to compiler

  • Improved multi compiler cache location and validating it

  • Support import attributes spec (with keyword)

  • Support node: prefix for Node.js core modules in runtime code

  • Support prefetch/preload for module chunk format

  • Support "..." in the importsFields option for resolver

  • Root module is less prone to be wrapped in IIFE

  • Export InitFragment class for plugins

  • Export compileBooleanMatcher util for plugins

  • Export InputFileSystem and OutputFileSystem types

  • Support the esModule generator option for CSS modules

  • Support CSS when chunk format is module

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.