npm / webpack-manifest-plugin
webpack-manifest-plugin
What changed in webpack-manifest-plugin 2 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
16 breaking5 new APIs and options1 behavior and defaults2 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initwebpack-manifest-plugin 62 changes
Breaking changes 2
The package is ESM only, so developers must use it as an ES module.
Node 20 or later is required to use the package.
webpack-manifest-plugin 51 changes
Breaking changes 1
Support for webpack v4 was dropped.
webpack-manifest-plugin 43 changes
Breaking changes 2
The package now requires Node v12 or later.
webpack v5 was added to the package's peer dependencies.
Tooling 1
The package now ships TypeScript definitions, which differ from those in @types/webpack-manifest-plugin.
webpack-manifest-plugin 38 changes
Breaking changes 2
The package now requires an Active LTS Node version, v10.0.0 or newer.
The package now requires Webpack v4.44.0 or newer.
New APIs and options 3
Adds the beforeEmit hook, implemented with SyncWaterfallHook.
Adds the removeKeyHash option.
Adds the useEntryKeys option.
Fixes and other changes 3
Adds a fallback to asset.info.sourceFilename.
Reads publicPath from stats to handle [hash].
Adds webpack v5 compatibility.
webpack-manifest-plugin 214 changes
Breaking changes 9
basePath is applied to manifest keys only, including when publicPath is used.
The generate option replaces reduce.
The manifest is reset before each emit unless the seed option is used.
Manifest keys are no longer sorted by default; the sort option is available to control sorting.
Support for Node.js 0.10, 0.12, and 4 was dropped.
Paths use the Linux path separator on every operating system, making them consistent across operating systems.
The cache option was renamed to seed; using seed prevents the manifest from being reset before each emit.
The stripStr option was removed.
Webpack 1 is no longer supported.
New APIs and options 2
A plugin hook lets other plugins use the manifest.
A serialize option was added.
Behavior and default changes 1
Assets from copy-webpack-plugin can be added to the manifest.
Tooling 1
Webpack 4 support was added.
Fixes and other changes 1
With multiple plugin instances, the manifest might not be generated after the emit event.