Releases · webpack/webpack-cli
webpack-cli@7.0.2
webpack-cli@7.0.1
Patch Changes
- The
fileprotocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702)
create-webpack-app@2.0.1
webpack-cli@7.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)
create-new-webpack-app@2.0.0
v6.0.1
v6.0.0
6.0.0 (2024-12-19)
BREAKING CHANGES
- the minimum required Node.js version is
18.12.0 - removed
init,loaderandplugincommands in favorcreate-webpack-app - dropped support for
webpack-dev-server@v4 - minimum supported webpack version is
5.82.0 - The
--define-process-env-node-envoption was renamed to--config-node-env
Bug Fixes
- allow to require
webpack.config.jsin ESM format (#4346) (5106684) - correct the minimum help output (#4057) (c727c4f)
- gracefully shutting down (#4145) (90720e2)
- improve help output for possible values (#4316) (4cd5aef)
- no serve when dev-server is false (#2947) (a93e860)