Packages

webpack

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

Your version

5.90.0

24 Jan 2024Where it was published

5.113.0 is the newest release of 5.x.

In short

10 new19 fixed5 internal

Security

Release note

Bug Fixes

  • Fixed inner graph for classes

  • Optimized RemoveParentModulesPlugin via bigint arithmetic

  • Fixed worklet detection in production mode

  • Fixed an error for cyclic importModule

  • Fixed types for Server and Dirent

  • Added the fetchPriority to hmr runtime's ensureChunk function

  • Don't warn about dynamic import for build dependencies

  • External module generation respects the output.environment.arrowFunction option

  • Fixed consumimng shared runtime module logic

  • Fixed a runtime logic of multiple chunks

  • Fixed destructing assignment of dynamic import json file

  • Passing errors array for a module hash

  • Added /*#__PURE__*/ to generated JSON.parse()

  • Generated a library manifest after clean plugin

  • Fixed non amd externals and amd library

  • Fixed a bug in SideEffectsFlagPlugin with namespace re-exports

  • Fixed an error message for condition or

  • The strictModuleErrorHandling is now working

  • Clean up child compilation chunk graph to avoid memory leak

    • Fixed CSS import prefer relative resolution

    • Fixed CSS runtime chunk loading error message

New Features

  • Allow to set false for dev server in webpack.config.js

  • Added a warning for async external when not supported

  • Added a warning for async module when not supported

  • Added the node-module option for the node.__filename/__dirname and enable it by default for ESM target

  • Added the snapshot.unmanagedPaths option

  • Exposed the MultiCompilerOptions type

    • Added CSS parser options to enable/disable named exports

    • Moved CSS the exportsOnly option to CSS generator options

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.