Releases: webpack/webpack-cli
Releases Β· webpack/webpack-cli
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)
Features
v5.1.4
v5.1.3
v5.1.2
v5.1.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
5.0.0 (2022-11-17)
Bug Fixes
- improve description of the
--disable-interpretoption (#3364) (bdb7e20) - remove the redundant
utilsexport (#3343) (a9ce5d0) - respect
NODE_PATHenv variable (#3411) (83d1f58) - show all CLI specific flags in the minimum help output (#3354) (35843e8)
Features
- failOnWarnings option (#3317) (c48c848)
- update commander to v9 (#3460) (6621c02)
- added the
--define-process-env-node-envoption - update
interpretto v3 andrechoirto v0.8 - add an option for preventing interpret (#3329) (c737383)
BREAKING CHANGES
- the minimum supported webpack version is v5.0.0 (#3342) (b1af0dc), closes #3342
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
- remove the
migratecommand (#3291) (56b43e4), closes #3291 - remove the
--prefetchoption in favor thePrefetchPluginplugin - remove the
--node-envoption in favor--define-process-env-node-env - remove the
--hotoption in favor of directly using theHotModuleReplacementplugin (only forbuildcommand, forserveit will work) - the behavior logic of the
--entryoption has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please usewebpack --entry-reset --entry './src/my-entry.js'