webpack-cli breaking changes
Updated December 4, 2026
On this page
Latest version 7.3.1, released October 30, 2026. Source repository
Its 7.0.0 release requires Node.js 20.9.0 or later. Node.js end of life dates.
- From 6.0.0 to 7.3.1: 51 breaking changes in 4 versions.
- From 5.0.0 to 7.3.1: 71 breaking changes in 8 versions.
webpack-cli 7.3.1 breaking changes
- Behavior changed
Configuration files are loaded through import() rather than eval, so configs that depended on eval behavior may load differently. github.com
webpack-cli 7.3.0 breaking changes
- Behavior changed
webpack serve
In multi-compiler mode every dev server now serves all compilers by default. To serve each compiler only from its own configuration's dev server, use the new --dev-server-per-compiler option of webpack serve. github.com - Signature changed
default.createCompiler
Was createCompiler(options: Options, callback?: WebpackCallback): Promise<Compiler | MultiCompiler>; now createCompiler(options: Options, callback?: WebpackCallback, configure?: ConfigureCompiler): Promise<Compiler | MultiCompiler>. npmjs.com - Signature changed
default.run
Was run(args: readonly string[], parseOptions: ParseOptions): Promise<void>; now run(args: readonly string[], parseOptions?: ParseOptions): Promise<void>. npmjs.com
webpack-cli 7.2.3 breaking changes
- Signature changed
default.loadWebpackDevServer
Was loadWebpackDevServer(): Promise<typeof import("webpack-dev-server")>; now loadWebpackDevServer(): Promise<DevServerConstructor>. npmjs.com
webpack-cli 7.0.0 breaking changes
- Removed
The minimum supported Node.js version is now 20.9.0. Users on older Node.js versions must upgrade before using this release. github.com - Removed
--node-env
The --node-env argument is removed. Use --config-node-env instead. github.com - Removed
Argument
Argument was removed in webpack-cli 7.0.0 npmjs.com - Removed
Argv
Argv was removed in webpack-cli 7.0.0 npmjs.com - Removed
BasicPrimitive
BasicPrimitive was removed in webpack-cli 7.0.0 npmjs.com - Removed
CallableWebpackConfiguration
CallableWebpackConfiguration was removed in webpack-cli 7.0.0 npmjs.com - Removed
Callback
Callback was removed in webpack-cli 7.0.0 npmjs.com - Removed
CLIPluginOptions
CLIPluginOptions was removed in webpack-cli 7.0.0 npmjs.com - Removed
CommandAction
CommandAction was removed in webpack-cli 7.0.0 npmjs.com - Removed
CommanderOption
CommanderOption was removed in webpack-cli 7.0.0 npmjs.com
And 36 more in this version. Sign up to see every change
webpack-cli 6.0.0 breaking changes
- Removed
BasicPackageJsonContent
BasicPackageJsonContent was removed in webpack-cli 6.0.0 npmjs.com - Removed
ConfigOptions
ConfigOptions was removed in webpack-cli 6.0.0 npmjs.com - Removed
init
The init command is gone; use create-webpack-app to scaffold a project instead. github.com - Removed
JsonExt.stringifyStream
JsonExt.stringifyStream was removed in webpack-cli 6.0.0 npmjs.com - Removed
loader
The loader command is gone; use create-webpack-app instead. github.com - Removed
plugin
The plugin command is gone; use create-webpack-app instead. github.com - Removed
WebpackCLIStats
WebpackCLIStats was removed in webpack-cli 6.0.0 npmjs.com - Renamed
--define-process-env-node-env
The option is now called --config-node-env; update any scripts that pass the old name. github.com - Renamed
CallableOption
Use CallableWebpackConfiguration instead. npmjs.com - Behavior changed
The package now requires Node.js 18.12.0 or later, so older Node.js versions will no longer run it. github.com
And 4 more in this version. Sign up to see every change
webpack-cli 5.1.2 breaking changes
- Signature changed
WebpackCLIMainOption
Was type WebpackCLIMainOption = Pick<WebpackCLIBuiltInOption, "description" | "defaultValue" | "multiple"> & {flags: string; type: Set<BooleanConstructor | StringConstructor | NumberConstructor>;}; now type WebpackCLIMainOption =... npmjs.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
webpack-cli 5.1.0 breaking changes
- Removed
MultipleCompilerStatsOptions
MultipleCompilerStatsOptions was removed in webpack-cli 5.1.0 npmjs.com - Signature changed
CLIPluginOptions.configPath
Was configPath?: string; now configPath?: string[]. npmjs.com
And 2 more in this version.
webpack-cli 5.0.2 breaking changes
- Signature changed
WebpackCLIBuiltInOption.helpLevel
Was helpLevel?: "minimum" | "verbose"; now helpLevel: "minimum" | "verbose". npmjs.com
webpack-cli 5.0.0 breaking changes
- Removed
webpack-cli now requires Node.js 14.15.0 or later. github.com - Removed
webpack-cli no longer works with webpack v4. Upgrade webpack to v5.0.0 or later. github.com
And 9 more in this version.
webpack-cli 4.0.0-beta.9 breaking changes
- Removed
--plugin
The --plugin flag was removed with no replacement, so commands using it must drop it. github.com - Removed
defaults
The defaults option was removed without replacement; configurations relying on it must be updated. github.com
And 2 more in this version.
webpack-cli 4.0.0-beta.2 breaking changes
- Removed
Node 8 was removed from the CI matrix, so the package is no longer tested on it. github.com - Behavior changed
The serve command always spawns a separate process and takes its flags from the dev server package, so existing serve invocations may behave differently. github.com
And 5 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.