Skip to content

fix(deps): update dependency webpack-cli to v4 - autoclosed

Renovate requested to merge renovate/webpack-cli-4.x into master

This MR contains the following updates:

Package Type Update Change
webpack-cli dependencies major ^3.1.2 -> ^4.0.0

Release Notes

webpack/webpack-cli

v4.10.0

Compare Source

Bug Fixes
Features

4.9.2 (2022-01-24)

Bug Fixes

4.9.1 (2021-10-18)

Bug Fixes

v4.9.2

Compare Source

Bug Fixes

v4.9.1

Compare Source

Bug Fixes

v4.9.0

Compare Source

Bug Fixes
Features
  • allow to run commands without webpack installation where it is unnecessary (#​2907) (603041d)

v4.8.0

Compare Source

Bug Fixes
Features
  • show possible values for option in help output (#​2819) (828e5c9)
  • init-generator: add ability to specify a package manager of choice (#​2769) (e53f164)

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.2

Compare Source

Note: Version bump only for package webpack-cli (due @webpack-cli/serve)

v4.7.1

Compare Source

Bug Fixes

v4.7.0

Compare Source

Bug Fixes
Features

v4.6.0

Compare Source

Bug Fixes
Features

v4.5.0

Compare Source

Notes
  • now you can use webpack.config.mjs and webpack.config.js with { "type": "module" } in package.json
  • you can avoid using the cross-env package:

Before:

{
  "scripts": {
    "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
  }
}

Now (you can remove the cross-env if you don't use it somewhere else):

{
  "scripts": {
    "build": "webpack --node-env=production --config build/webpack.config.js"
  }
}
  • the mode option respect the --node-env option if you don't set the mode option explicit using CLI options or in configuration(s), i.e. --node-env production set process.env.NODE_ENV and mode to production
Bug Fixes
Features

v4.4.0

Compare Source

Bug Fixes
Features

4.3.1 (2020-12-31)

Bug Fixes

v4.3.1

Compare Source

Bug Fixes

v4.3.0

Compare Source

Bug Fixes
  • fix problems with --mode and config resolution, there are situations when we resolve an invalid config file, the --mode option does not affect on config resolution, if you faced with an error after updating, please use the --config option
  • correct usage of cli-flags (#​2205) (c8fc7d1)
  • defer setting default mode to core (#​2095) (3eb410e)
  • respect the --watch-options-stdin option (2d1e001)
  • respect --color/--no-color option (#​2042) (09bd812)
  • stringify stats using streaming approach (#​2190) (9bf4e92)
  • use logger for error with proper exit code (#​2076) (2c9069f)
  • reduce spammy logs (#​2206) (9b3cc28)
  • respect the infrastructureLogging.level option (logger uses stderr) (#​2144) (7daccc7)
  • respect all options from command line for the server command
  • help and version output
  • respect stats from the config (webpack@4) (#​2098) (2d6e5c6)
  • fixed colors work with multi compiler mode (webpack@4)
Features
  • add bundle command (alias for webpack [options])
  • add pnpm support for package installation (#​2040) (46cba36)

v4.2.0

Compare Source

Bug Fixes
Features

v4.1.0

Compare Source

Bug Fixes
Fe

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports