Skip to content

fix(deps): update dependency webpack-cli to v5

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

This MR contains the following updates:

Package Type Update Change
webpack-cli (source) dependencies major ^3.1.2 -> ^5.0.0

Release Notes

webpack/webpack-cli (webpack-cli)

v5.1.4

Compare Source

Bug Fixes
  • multi compiler progress output (f659624)

v5.1.3

Compare Source

Bug Fixes

v5.1.2

Compare Source

Bug Fixes
  • improve check for custom webpack and webpack-dev-server package existance (0931ab6)
  • improve help for some flags (f468614)
  • improved support for .cts and .mts extensions (a77daf2)

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features
Performance Improvements

5.0.2 (2023-04-21)

Bug Fixes
  • error message for missing default export in configuration (#​3685) (e0a4a09)
  • perf: reduced startup time (3b79059)

5.0.1 (2022-12-05)

Bug Fixes

v5.0.2

Compare Source

Bug Fixes
  • error message for missing default export in configuration (#​3685) (e0a4a09)
  • perf: reduced startup time (3b79059)

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

Bug Fixes
Features
  • failOnWarnings option (#​3317) (c48c848)
  • update commander to v9 (#​3460) (6621c02)
  • added the --define-process-env-node-env option
  • update interpret to v3 and rechoir to 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 migrate command (#​3291) (56b43e4), closes #​3291
  • remove the --prefetch option in favor the PrefetchPlugin plugin
  • remove the --node-env option in favor --define-process-env-node-env
  • remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
  • the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'

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
Features

v4.0.0

Compare Source

Bug Fixes
Features
  • assign config paths in build dependencies in cache config (#​1900) (7e90f11)

v3.3.12

Compare Source

Full Changelog

v3.3.11

Compare Source

Full Changelog

v3.3.10

Compare Source

Full Changelog

New Features

  • add new flag and patch sec dep (#​1102)

v3.3.9

Compare Source

Full Changelog

Fix

  • use process.exitCode instead of process.exit in compilerCallback (ee001bd)

v3.3.8

Compare Source

Full Changelog

Fix

  • support both webpack versions (d28f9f5)

Tests

v3.3.7

Compare Source

Full Changelog

Fix

  • resolve opts when no-config (fb31cc4)

v3.3.6

Compare Source

Full Changelog

Docs

  • remove deprecated packages description (#​979)

Fix

v3.3.5

Compare Source

Full Changelog

CLI

Fix

  • deps: move prettier from dependencies to devDependencies (#​968)
  • change "usr strict" to "use strict" (670efc7)
  • update deps (69f364e)

v3.3.4

Compare Source

Full Changelog

New Features

Docs

  • added auto flag in docs for init command (dede7d8)

Fix

  • module not found error (a2062f2)
  • remove unused pkgs and refactor init generator (7608d4b)

Tests

Misc

v3.3.3

Compare Source

Full Changelog

New Features

  • chore: Added type definitions for the data returned by envinfo (#​921)
  • add htmlWebpackPlugin in development (88fcfa8)
  • add mergeHandler (248b9cc)
  • generators: add generated file templates (6be9291)
  • init: generate README (c090b17)
  • init: generate tsconfig (25ab7e6)
  • init: support ts in configuration (283e089)
  • init: wip typescript support (093a36d)
  • md: formats md before committing (#​851)
  • webpack-scaffold: adds Input defaults, doc & tests (0a648f7)

CLI

  • fix watch options for array config (#​892)

Docs

  • contribute: adds section seperator (cff0c55)
  • contribute: combines seperate sections for npm and yarn (aefa8eb)
  • contributing: updates the docs for the test (7656637)
  • fix link to webpack-scaffold (de0b4a0)
  • init: improve description (9856bab)
  • utils: update prettier (8b6d47b)

Fix

  • improve checking file permission (de41351)
  • chore: Minor fix (6810182)
  • use fork cause original repo is unmaintained (383125a)
  • add: apply suggestions (ccf0dce)
  • add: add handling of merge option (eb43443)
  • add: add handling of merge option (ce51a0a)
  • ci: fixes linting error in ci (cfc0117)
  • cli: updates err message (b5e1913)
  • cli: removes the comment before err handling block (ac5a53f)
  • cli: --config-register resolves relative to root (23375bd)
  • cli: removes func return in catch instance (7d31321)
  • cli: sets stack trace limit (869024f)
  • cli: err when no args passed, refactored nested conditional blocks (a9bc0bd)
  • cli: shows error message based on package manager (a3ce273)
  • cli: error when no webpack and args found (2250af0)
  • generator: fixed the support of native plugins in add command (123a150)
  • infra: fixes npm run docs (65c08e2)
  • formatting files (eb3909b)
  • remove type from inherited type (960e73a)
  • remove type from inherited type (0552f76)
  • change parser options (4e8bc76)
  • json module resolve (61697b8)
  • cli: improves error handling with args (cc64955)
  • generator: generate correct module.rule for babel & ts (263b83c)
  • generator: using configFile in configPath to get the config file name (#​883)
  • genrators/utils/style: typo & fix (f46f4e5)

Misc

  • update internal docs (7071b5c)
  • add lerna publish cmnd (5c8c6a1)
  • generators: remove comment (bd06a69)
  • generators: refactor (376dcbd)
  • generators: small text improvements (782f56c)
  • generators: improve prompts (ac35a31)
  • generators: refactor init-generator (d574846)
  • generators: refactor utils (17e4511)
  • generators/utils/style: refactor (392fcfe)
  • init: refactor with async/await (1b07d2b)
  • init: small refactor (4627ea1)
  • init-generator: improve readme (f971632)
  • init-generator: small refactor (dcf44c1)
  • init-generator: use webpackOption types, improve test rules (a650e0e)
  • init-generator: improve types & defaults (fb23aa4)
  • packages: complete rebase (488b06c)
  • types: correct types (85ef3e7)

v3.3.2

Compare Source

Full Changelog

New Features

  • opencollective prompt: add option to disable it + doc (d4643ae)
  • terser: clean old files (89e6b74)
  • terser: remove leftover files (27d5b4d)
  • terser: replace after merging master (c404655)
  • replace Uglify with Terser in generators (2b8651b)
  • use terserPlugin in loaderOptionsPlugin (14f5337)
  • use terserJsPlugin for transformations during migrate (33c6185)
  • replace uglifyJsPlugin with terserPlugin in migrate (d467f3b)
  • opencollective prompt: work on windows setting atime by code (3af73a8)
  • opencollective prompt: fix typo (c2351b1)
  • opencollective prompt: remove .lastocprint file from fs (b96ad56)
  • opencollective prompt: extract weekday to variable (790d27a)
  • opencollective prompt: set terminal cols to 80 (badc32d)
  • opencollective prompt: fix azure ci (ea0039a)
  • opencollective prompt: lint (ea906d8)
  • opencollective prompt: clear package.json modifications (f080733)
  • opencollective prompt: add prompt in postinstall script (dd9d528)

Ast

  • change tooltip property from uglify to terser (ea9e4b8)
  • replace requires and inits for uglify with terser (3011a6c)
  • replace UglifyJsPlugin with TerserPlugin (21da35f)

Docs

  • code of conduct (#​873)
  • contribute: adds table of contents and info about dependencies. (#​842)
  • contributing: fixes dead link (#​835)
  • opencollective prompt: improve code clarity (55992a4)
  • packages: adds downloads/month shield (6a0375a)
  • readme: fix typos, add summary of all commands (#​845)
  • readme: adds contributors shield (958d064)
  • README: phrase change (3a11a16)
  • README: add link to webpack-scaffold-starter (e35a194)
  • README: update scaffolding links (74179b5)
  • serve: link to webpack-dev-server (cb68b1b)
  • serve: update docs to use webpack-dev-server (f7451d4)
  • replace tooltip link to terser plugin (4254730)
  • replace Uglify with Terser in comments (799577d)
  • replace UglifyJsPlugin with TerserPlugin in migrate docs (326f783)

Enh

  • webpack-scaffold: improve prompt and doc (#​794)

Fix

  • add: add types (d4ce6f2)
  • add: fix runTransform (dbc3e9e)
  • add: lint code (163b309)
  • add: add handling for topScope (1162cf5)
  • bin, serve: force default package export, add serve default (#​815)
  • init: refactored the init.ts success message (#​810)
  • opencollective prompt: fix grammar (246db42)
  • opencollective-prompt: check write permissions (5284b7e)
  • scaffold: config file is always generated at the project root (#​801)
  • utils: refactors utils (7fe3543)
  • clear up comment about default function purpose (e48507d)
  • remove unused files (ec242ab)
  • reset files (9863445)
  • replace lookups for TerserPlugin in webpack.optimise (ef23fec)

Misc

  • chore(docs): Refactors links for badges (#​859)
  • opencollective-prompt: improve grammar (e17a26d)
  • Remove tslint in favour of eslint (#​834)
  • cli: refactor functions into utils and config dirs, merge yargs options (#​781)
  • utils: refactors scaffold (0b28fb3)

v3.3.1

Compare Source

Full Changelog

v3.3.0

Compare Source

Full Changelog

New Features

  • use webpack.config as default name in dev scaffold (385a672)
  • only display once a week (b6199e5)
  • add util to run-and-get watch proc (1d2ccd5)
  • add test-util to append data to file (e9e1dcb)
  • log: clean single line logs (5d2284b)
  • log: add gitignore (7c830b5)
  • log: make log package (df7c224)
  • log: add clrscr function (11b3bff)
  • log: few changes (bc32727)
  • log: add newline for title (4047213)
  • log: remove unwanted commits (c088f3e)
  • log: task based custom loggers (2c43a41)

Docs

  • scaffolding: lowercase Webpack (d19c1f7)
  • scaffolding: fix typos (b94b0de)
  • scaffolding: improve grammar (6b79072)
  • add lerna badge in README (#​786)
  • contributing: refactor & formatting (1042cb2)
  • contributing: improve formatting (47fcd7f)
  • contributing: : at the end of paragraphs (48d65fd)
  • contributing: update instructions to run individual tests (b7cca58)
  • contributing: update instructions to run individual tests (bc0297a)
  • contributing: add yarn before running jest (126cf55)
  • contributing: commands to install jest globally (18b7c2e)
  • contributing: fixes typo (c458380)
  • contributing: improves formatting (abac823)
  • contributing: adds prebuild instructions (81cb46a)
  • readme: add downloads badge (dc2423c)
  • scaffold: add link option for local (f8424be)
  • scaffold: Add installation guide for packages/webpack-scaffold (#​727)
  • scaffolding: fix typo (98818a1)
  • scaffolding: improve description & formatting (0f657d0)
  • scaffolding: fix links (e11c524)
  • scaffolding: add yarn example (d47eea0)
  • scaffolding: fix typo (87ba169)
  • scaffolding: improved structure, formatting, typos (8949f82)
  • init documentaion (4b130bb)
  • rename Webpack to webpack (900c13e)
  • init documentaion (14d2b47)

Fix

  • bin: use compiler.close API correctly for stats (568161d)
  • bin: extension detection (#​724)
  • init: lint code (20aab48)
  • init: support global installation (1cb0166)
  • init: revert to local installation (48b3b23)
  • init: update prompt command (c1c0739)
  • init: update prompt command (1cab3cb)
  • readme: remove old dependency status link (4df0000)
  • readme: add fallback badge for dependency status (0e3753b)
  • tests: remove snapshot for static compilation (54a3ac4)
  • tests: remove snapshot for static compilation (3af0948)
  • tests: update jest (d195774)
  • close compiler, own sh script and output clearing (6ded275)
  • failing test (88888bb)
  • failing test (986472a)
  • test: fix travis ts build (22d3acc)

Misc

  • Correction of the webpack-merge configuration (2ed8c60)
  • replace opencollective with light vers (848bf4b)

v3.2.3

Compare Source

v3.2.2

Compare Source

Full Changelog

New Features

  • only display once a week (b6199e5)
  • add util to run-and-get watch proc (1d2ccd5)
  • add test-util to append data to file (e9e1dcb)
  • log: clean single line logs (5d2284b)
  • log: add gitignore (7c830b5)
  • log: make log package (df7c224)
  • log: add clrscr function (11b3bff)
  • log: few changes (bc32727)
  • log: add newline for title (4047213)
  • log: remove unwanted commits (c088f3e)
  • log: task based custom loggers (2c43a41)

Docs

  • init documentaion (14d2b47)
  • scaffold: Add installation guide for packages/webpack-scaffold (#​727)

Fix

  • close compiler, own sh script and output clearing (6ded275)
  • bin: extension detection (#​724)
  • readme: remove old dependency status link (4df0000)
  • readme: add fallback badge for dependency status (0e3753b)
  • failing test (88888bb)
  • test: fix travis ts build (22d3acc)

Misc

  • Correction of the webpack-merge configuration (2ed8c60)
  • replace opencollective with light vers (848bf4b)

v3.2.1

Compare Source

v3.2.0

Compare Source


Configuration

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

Edited by Renovate

Merge request reports