Update dependency webpack-cli to v7
Notable changes
- feat(cli): refresh the
--helpoutput using commander'sconfigureHelpAPI — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or--no-coloris used, so scripts keep working. (by @alexander-akait in #4779) - feat: support
.json5,.yaml/.ymland.tomlconfiguration files by parsing them directly, with the parser package (json5,js-yaml,toml) installed on demand by the user and declared as optionalpeerDependenciesso the parsers resolve correctly under Yarn PnP (by @alexander-akait in #4777) - Improved CLI startup performance and reduced memory usage. (by @alexander-akait in #4765)
- Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery. (by @alexander-akait in #4760)
- Replace the
fastest-levenshteindependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by @alexander-akait in #4762) - Resolve configuration path for cache build dependencies. (by @alexander-akait in #4707)
- The
fileprotocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702) - The minimum supported version of Node.js is
20.9.0. (by @alexander-akait in #4677) - Use dynamic import to load
webpack.config.js, fallback to interpret only when configuration can't be load by dynamic import. Using dynamic imports allows you to take advantage of Node.js's built-in TypeScript support. (by @alexander-akait in #4677) - Removed the
--node-envargument in favor of the--config-node-envargument. (by @alexander-akait in #4677) - The
versioncommand only output versions right now. (by @alexander-akait in #4677) - Removed deprecated API, no action required unless you use
import cli from "webpack-cli";/const cli = require("webpack-cli");. (by @alexander-akait in #4677) - Allow configuration freezing. (by @alexander-akait in #4677)
- Use graceful shutdown when file system cache is enabled. (by @alexander-akait in #4677)
- Performance improved. (by @alexander-akait in #4677)
webpack/webpack-cli (webpack-cli)
v7.1.0
Minor Changes
-
feat(cli): refresh the
--helpoutput using commander'sconfigureHelpAPI — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or--no-coloris used, so scripts keep working. (by @alexander-akait in #4779) -
feat: support
.json5,.yaml/.ymland.tomlconfiguration files by parsing them directly, with the parser package (json5,js-yaml,toml) installed on demand by the user and declared as optionalpeerDependenciesso the parsers resolve correctly under Yarn PnP (by @alexander-akait in #4777)
v7.0.3
Patch Changes
-
Improved CLI startup performance and reduced memory usage. (by @alexander-akait in #4765)
-
Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery. (by @alexander-akait in #4760)
-
Replace the
fastest-levenshteindependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by @alexander-akait in #4762)
v7.0.2
Patch Changes
- Resolve configuration path for cache build dependencies. (by @alexander-akait in #4707)
v7.0.1
Patch Changes
- The
fileprotocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702)
v7.0.0
Major Changes
-
The minimum supported version of Node.js is
20.9.0. (by @alexander-akait in #4677) -
Use dynamic import to load
webpack.config.js, fallback to interpret only when configuration can't be load by dynamic import. Using dynamic imports allows you to take advantage of Node.js's built-in TypeScript support. (by @alexander-akait in #4677) -
Removed the
--node-envargument in favor of the--config-node-envargument. (by @alexander-akait in #4677) -
The
versioncommand only output versions right now. (by @alexander-akait in #4677) -
Removed deprecated API, no action required unless you use
import cli from "webpack-cli";/const cli = require("webpack-cli");. (by @alexander-akait in #4677)
Patch Changes
-
Allow configuration freezing. (by @alexander-akait in #4677)
-
Use graceful shutdown when file system cache is enabled. (by @alexander-akait in #4677)
-
Performance improved. (by @alexander-akait in #4677)
List of commits
d92cc3d (Update dependency webpack-cli to v7, 2026-07-01)