Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.11→7.0.0Release Notes
webpack/webpack-cli (webpack-cli)
v7.0.0Compare Source
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)
v6.0.1Compare Source
Bug Fixes
v6.0.0Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.4Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.3Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.2Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.1Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.0Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.0.2Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
define-process-env-node-envaliasnode-env(#3514) (346a518)v5.0.1Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
define-process-env-node-envaliasnode-env(#3514) (346a518)v5.0.0Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
define-process-env-node-envaliasnode-env(#3514) (346a518)v4.10.0Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.2Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.1Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.0Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.8.0Compare Source
Bug Fixes
Features
4.7.2 (2021-06-07)
Note: Version bump only for package webpack-cli (due
@webpack-cli/serve)4.7.1 (2021-06-07)
Bug Fixes
v4.7.2Compare Source
Bug Fixes
Features
4.7.2 (2021-06-07)
Note: Version bump only for package webpack-cli (due
@webpack-cli/serve)4.7.1 (2021-06-07)
Bug Fixes
v4.7.1Compare Source
Bug Fixes
Features
4.7.2 (2021-06-07)
Note: Version bump only for package webpack-cli (due
@webpack-cli/serve)4.7.1 (2021-06-07)
Bug Fixes
v4.7.0Compare Source
Bug Fixes
Features
4.7.2 (2021-06-07)
Note: Version bump only for package webpack-cli (due
@webpack-cli/serve)4.7.1 (2021-06-07)
Bug Fixes
v4.6.0Compare Source
Bug Fixes
negativeoptions (#2555) (f26ebc1)--node-envin minimum help output (#2411) (f5fc302)Features
WEBPACK_PACKAGEenv var to use customwebpackpackage (#2556) (3d1e485)WEBPACK_CLI_SKIP_IMPORT_LOCALenv var to skip local import (#2546) (e130822)--hotoption (#2444) (8656e78)v4.5.0Compare Source
Notes
webpack.config.mjsandwebpack.config.jswith{ "type": "module" }inpackage.jsoncross-envpackage:Before:
{ "scripts": { "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js" } }Now (you can remove the
cross-envif you don't use it somewhere else):{ "scripts": { "build": "webpack --node-env=production --config build/webpack.config.js" } }modeoption respect the--node-envoption if you don't set themodeoption explicit using CLI options or in configuration(s), i.e.--node-env productionsetprocess.env.NODE_ENVandmodetoproductionBug Fixes
Features
--node-envflag (#2388) (e5126f1)v4.4.0Compare Source
Bug Fixes
--no-watch-options-stdin(#2288) (4ee8665)argvto configurations whenservecommand used (#2345) (5070b9b)--stats,--colorand--no-coloroption forservecommand (#2312) (73d3fec)Features
configtestcommand (#2303) (eb7b189)buildcommand (aliases -bundleandb) (7590f66)watchcommand (#2357) (9693f7d)helpcommand to show option information (#2353) (15eb411)4.3.1 (2020-12-31)
Bug Fixes
--helpoption is working withoutwebpack-dev-server(#2267) (1dae54d)--progressoption is working with--json(#2276) (0595603)v4.3.1Compare Source
Bug Fixes
--no-watch-options-stdin(#2288) (4ee8665)argvto configurations whenservecommand used (#2345) (5070b9b)--stats,--colorand--no-coloroption forservecommand (#2312) (73d3fec)Features
configtestcommand (#2303) (eb7b189)buildcommand (aliases -bundleandb) (7590f66)watchcommand (#2357) (9693f7d)helpcommand to show option information (#2353) (15eb411)4.3.1 (2020-12-31)
Bug Fixes
--helpoption is working withoutwebpack-dev-server(#2267) (1dae54d)--progressoption is working with--json(#2276) (0595603)[
v4.3.0](https://redirect.gConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.