Packages

webpack

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

Your version

5.103.0

18 Nov 2025Where it was published

5.113.0 is the newest release of 5.x.

In short

12 new19 fixed

Security

Release note

Features

  • Added DotenvPlugin and top level dotenv option to enable this plugin

  • Added WebpackManifestPlugin

  • Added support the ignoreList option in devtool plugins

  • Allow to use custom javascript parse function

  • Added import.meta.env support for environment variables

  • Added support for import.meta.dirname and import.meta.filename

  • Added support import.defer() for statistical path

  • Handle import.meta.main

  • Added suport to setup named exports for JSON modules and disable usage named export for import file from "./file.json" with { type: "json" }

  • Added support __dirname/__filename/import.meta.dirname/import.meta.filename for universal target

  • Added the exportType option with link (by default), "text" and css-style-sheet values

  • Added support for composes properties

Fixes

  • The dependOn chunk must be loaded before the common chunk

  • Return to namespace import when the external request includes a specific export

  • No runtime extra runtime code for module libraries

  • Delay HMR accept dependencies to preserve import attributes

  • Properly handle external presets for universal target

  • Fixed incorrect identifier of import binding for module externals

  • Fixed when defer import and dynamic default export mixed

  • Reduce generated output when globalThis supported

  • Fixed loading async modules in defer import

  • Reexport module for default import when no used exports for systemjs library

  • Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id

  • Handle __dirname and __filename for ES modules

  • Rename single nested __webpack_export__ and __webpack_require__ in already bundled code

  • Webpack function type

  • NormalModule type

  • Multi compiler configuration type

  • Fixed regression in custom hashDigest type

  • No extra runtime for initial chunk

  • Fixed a lot of CSS modules bugs

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.