---
title: "webpack-cli 7.3.1 Breaking Changes on npm | Since.dev"
description: "What each webpack-cli release removed, renamed or changed: 93 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/webpack-cli
last_updated: 2026-12-04
---

# webpack-cli breaking changes

webpack-cli 7.3.1 (October 30, 2026) is its newest release with breaking changes. The first: Configuration files are now loaded with import() instead of eval in webpack-cli 7.3.1. Every breaking API change we have recorded in webpack-cli on npm: 93 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.3.1`, released October 30, 2026. [Source repository](https://github.com/webpack/webpack-cli)

Its 7.0.0 release requires Node.js 20.9.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.0.0](#v-6-0-0) to [7.3.1](#v-7-3-1): 51 breaking changes in 4 versions.
- From [5.0.0](#v-5-0-0) to [7.3.1](#v-7-3-1): 71 breaking changes in 8 versions.

## webpack-cli 7.3.1 breaking changes

webpack-cli 7.3.1, released October 30, 2026: 1 breaking change.

- **Behavior changed**  

Configuration files are loaded through import() rather than eval, so configs that depended on eval behavior may load differently. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%407.3.1)

## webpack-cli 7.3.0 breaking changes

webpack-cli 7.3.0, released October 30, 2026: 3 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](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%407.3.0)
- **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](https://www.npmjs.com/package/webpack-cli/v/7.3.0)
- **Signature changed** `default.run`  

Was run(args: readonly string\[\], parseOptions: ParseOptions): Promise\<void>; now run(args: readonly string\[\], parseOptions?: ParseOptions): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.3.0)

## webpack-cli 7.2.3 breaking changes

webpack-cli 7.2.3, released August 28, 2026: 1 breaking change.

- **Signature changed** `default.loadWebpackDevServer`  

Was loadWebpackDevServer(): Promise\<typeof import("webpack-dev-server")>; now loadWebpackDevServer(): Promise\<DevServerConstructor>. [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.2.3)

## webpack-cli 7.0.0 breaking changes

webpack-cli 7.0.0, released March 13, 2026: 46 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](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%407.0.0)
- **Removed** `--node-env`  

The --node-env argument is removed. Use --config-node-env instead. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%407.0.0)
- **Removed** `Argument`  

Argument was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `Argv`  

Argv was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `BasicPrimitive`  

BasicPrimitive was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `CallableWebpackConfiguration`  

CallableWebpackConfiguration was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `Callback`  

Callback was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `CLIPluginOptions`  

CLIPluginOptions was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `CommandAction`  

CommandAction was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)
- **Removed** `CommanderOption`  

CommanderOption was removed in webpack-cli 7.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/7.0.0)

And 36 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## webpack-cli 6.0.0 breaking changes

webpack-cli 6.0.0, released December 19, 2024: 14 breaking changes.

- **Removed** `BasicPackageJsonContent`  

BasicPackageJsonContent was removed in webpack-cli 6.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/6.0.0)
- **Removed** `ConfigOptions`  

ConfigOptions was removed in webpack-cli 6.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/6.0.0)
- **Removed** `init`  

The init command is gone; use create-webpack-app to scaffold a project instead. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0)
- **Removed** `JsonExt.stringifyStream`  

JsonExt.stringifyStream was removed in webpack-cli 6.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/6.0.0)
- **Removed** `loader`  

The loader command is gone; use create-webpack-app instead. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0)
- **Removed** `plugin`  

The plugin command is gone; use create-webpack-app instead. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0)
- **Removed** `WebpackCLIStats`  

WebpackCLIStats was removed in webpack-cli 6.0.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/6.0.0)
- **Renamed** `--define-process-env-node-env`  

The option is now called --config-node-env; update any scripts that pass the old name. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0)
- **Renamed** `CallableOption`  

Use CallableWebpackConfiguration instead. [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/6.0.0)
- **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](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## webpack-cli 5.1.2 breaking changes

webpack-cli 5.1.2, released June 4, 2023: 1 breaking change.

- **Signature changed** `WebpackCLIMainOption`  

Was type WebpackCLIMainOption = Pick\<WebpackCLIBuiltInOption, "description" | "defaultValue" | "multiple"> & {flags: string; type: Set\<BooleanConstructor | StringConstructor | NumberConstructor>;}; now type WebpackCLIMainOption =... [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/5.1.2)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### webpack-cli 5.1.0 breaking changes

webpack-cli 5.1.0, released May 7, 2023: 4 breaking changes.

- **Removed** `MultipleCompilerStatsOptions`  

MultipleCompilerStatsOptions was removed in webpack-cli 5.1.0 [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/5.1.0)
- **Signature changed** `CLIPluginOptions.configPath`  

Was configPath?: string; now configPath?: string\[\]. [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/5.1.0)

And 2 more in this version.

### webpack-cli 5.0.2 breaking changes

webpack-cli 5.0.2, released April 21, 2023: 1 breaking change.

- **Signature changed** `WebpackCLIBuiltInOption.helpLevel`  

Was helpLevel?: "minimum" | "verbose"; now helpLevel: "minimum" | "verbose". [npmjs.com](https://www.npmjs.com/package/webpack-cli/v/5.0.2)

### webpack-cli 5.0.0 breaking changes

webpack-cli 5.0.0, released November 17, 2022: 11 breaking changes.

- **Removed**  

webpack-cli now requires Node.js 14.15.0 or later. [github.com](https://github.com/webpack/webpack-cli/commit/1dabdd8e88dbb458419dd27971eea2e4db309c56)
- **Removed**  

webpack-cli no longer works with webpack v4. Upgrade webpack to v5.0.0 or later. [github.com](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%405.0.0)

And 9 more in this version.

### webpack-cli 4.0.0-beta.9 breaking changes

webpack-cli 4.0.0-beta.9, released October 10, 2020: 4 breaking changes.

- **Removed** `--plugin`  

The --plugin flag was removed with no replacement, so commands using it must drop it. [github.com](https://github.com/webpack/webpack-cli/blob/webpack-cli@4.0.0/packages/webpack-cli/CHANGELOG.md)
- **Removed** `defaults`  

The defaults option was removed without replacement; configurations relying on it must be updated. [github.com](https://github.com/webpack/webpack-cli/blob/webpack-cli@4.0.0/packages/webpack-cli/CHANGELOG.md)

And 2 more in this version.

### webpack-cli 4.0.0-beta.2 breaking changes

webpack-cli 4.0.0-beta.2, released October 10, 2020: 7 breaking changes.

- **Removed**  

Node 8 was removed from the CI matrix, so the package is no longer tested on it. [github.com](https://github.com/webpack/webpack-cli/blob/webpack-cli@4.0.0/packages/webpack-cli/CHANGELOG.md)
- **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](https://github.com/webpack/webpack-cli/blob/webpack-cli@4.0.0/packages/webpack-cli/CHANGELOG.md)

And 5 more in this version.

## Related packages

- [webpack-bundle-analyzer](https://since.dev/packages/npm/webpack-bundle-analyzer.md)
- [webpack-dev-middleware](https://since.dev/packages/npm/webpack-dev-middleware.md)
- [webpack-dev-server](https://since.dev/packages/npm/webpack-dev-server.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
