Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@webpack-cli/configtest

webpack26.8mMIT3.0.1TypeScript support: included

Validate a webpack configuration.

readme

webpack CLI

The official Command Line Interface of webpack


npm Build Status codecov Install Size GitHub Discussions Discord

Table of Contents

Introduction

Webpack CLI provides the interface of options webpack uses in its configuration file. The CLI options override options passed in the configuration file.

The CLI provides a rich set of commands that helps you develop your application faster.

How to install

If you have followed the Getting Started guide of webpack then webpack CLI is already installed!

Otherwise npm install --save-dev webpack-cli, yarn add webpack-cli --dev or pnpm add --D webpack-cli will install it.

Supported arguments and commands

Get to know what are the available commands and arguments here.

Packages

We organize webpack CLI as a multi-package repository using lerna. The main CLI logic using options, resides in packages/webpack-cli, while commands supported by the CLI, has dedicated subfolders in the folder packages.

A summary of supported commands is described below.

Commands

Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks.

Getting started

If you have followed the Getting Started guide of webpack, then webpack CLI is already installed!

Otherwise, you would need to install webpack CLI and the packages you want to use.

If you want to create a fresh webpack project run the command as stated below:

npx create-webpack-app init

You will then be prompted for some questions about which features you want to use, such as scss, typescript, PWA support or other features.

Exit codes and their meanings

Exit Code Description
0 Success
1 Errors from webpack
2 Configuration/options problem or an internal error

Contributing and Internal Documentation

The webpack family welcomes any contributor, small or big. We are happy to elaborate, guide you through the source code and find issues you might want to work on! To get started have a look at our contribution documentation.

Funding

If you like webpack, please consider donating through Open Collective to help us keep the project relevant.

Code of Conduct

Guidelines to how the webpack organization expects you to behave is documented under Code of Conduct

changelog

6.0.0 (2024-12-19)

BREAKING CHANGES

  • the minimum required Node.js version is 18.12.0
  • removed init, loader and plugin commands in favor create-webpack-app
  • dropped support for webpack-dev-server@v4
  • minimum supported webpack version is 5.82.0

Bug Fixes

Features

  • output pnpm version with info/version command (#3906) (38f3c6f)

5.1.4 (2023-06-07)

Bug Fixes

  • multi compiler progress output (f659624)

5.1.3 (2023-06-04)

Bug Fixes

5.1.2 (2023-06-04)

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)

5.1.1 (2023-05-09)

Bug Fixes

  • false positive warning when --watch used (#3783) (c0436ba)

5.1.0 (2023-05-07)

Features

Performance Improvements

  • simplify logic, reduce extra loops and perf (#3767) (6afe1d3)

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

  • make define-process-env-node-env alias node-env (#3514) (346a518)

5.0.0 (2022-11-17)

Bug Fixes

  • improve description of the --disable-interpret option (#3364) (bdb7e20)
  • remove the redundant utils export (#3343) (a9ce5d0)
  • respect NODE_PATH env 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-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'

4.10.0 (2022-06-13)

Bug Fixes

Features

4.9.2 (2022-01-24)

Bug Fixes

  • respect negatedDescription for flags from schema (#3102) (463b731)

4.9.1 (2021-10-18)

Bug Fixes

4.9.0 (2021-10-06)

Bug Fixes

  • handle undefined and empty configuration export (#2930) (9b9040e)

Features

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

4.8.0 (2021-08-15)

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

4.7.0 (2021-05-06)

Bug Fixes

Features

4.6.0 (2021-03-27)

Bug Fixes

Features

  • added WEBPACK_PACKAGE env var to use custom webpack package (#2556) (3d1e485)
  • added WEBPACK_CLI_SKIP_IMPORT_LOCAL env var to skip local import (#2546) (e130822)
  • allow string value for the --hot option (#2444) (8656e78)
  • display used config path when logging level=log (#2431) (f8406e1)

4.5.0 (2021-02-02)

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

  • avoid deprecation message (9d6dbda)
  • error message on invalid plugin options (#2380) (f9ce1d3)
  • improve description for 'configtest' command (#2379) (311bae3)

Features

4.4.0 (2021-01-19)

Bug Fixes

  • better description for --no-watch-options-stdin (#2288) (4ee8665)
  • double commands output in help (#2298) (efe81e9)
  • pass all argv to configurations when serve command used (#2345) (5070b9b)
  • respect --stats, --color and --no-color option for serve command (#2312) (73d3fec)
  • show exact package name while prompting for installation (#2338) (ffc93e5)
  • webpack installation prompt message (#2316) (3659c5e)

Features

  • added the configtest command (#2303) (eb7b189)
  • added the build command (aliases - bundle and b) (7590f66)
  • added the watch command (#2357) (9693f7d)
  • allow to pass parseOption to CLI class (#2299) (2af0801)
  • allow to use help command to show option information (#2353) (15eb411)
  • show multiple suggestions on unknown options (#2349) (7314d6c)

4.3.1 (2020-12-31)

Bug Fixes

  • error message on not installed module loaders for configuration (#2282) (29eaa8e)
  • peer dependencies (#2284) (083f2a0)
  • provide useful error on unknown command (d6380bb)
  • the --help option is working without webpack-dev-server (#2267) (1dae54d)
  • the --progress option is working with --json (#2276) (0595603)

4.3.0 (2020-12-25)

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)

4.2.0 (2020-11-04)

Bug Fixes

Features

  • export utils from core for other packages (#2011) (3004549)
  • progress supports string argument (#2000) (f13346e)
  • suggest the closest match based on the Levenshtein distance algorithm (#2010) (491a582)

4.1.0 (2020-10-19)

Bug Fixes

Features

4.0.0 (2020-10-10)

Bug Fixes

  • add compilation lifecycle in watch instance (#1903) (02b6d21)
  • cleanup package-utils package (#1822) (fd5b92b)
  • cli-executer supplies args further up (#1904) (097564a)
  • exit code for validation errors (59f6303)
  • exit process in case of schema errors (71e89b4)

Features

  • assign config paths in build dependencies in cache config (#1900) (7e90f11)

4.0.0-rc.1 (2020-10-06)

Bug Fixes

Features

4.0.0-beta.9 (2020-09-19)

Full Changelog

New Features

  • add aliases to all available commands (#1644)
  • generate changelog and copy old CHANGEFILE (#1805)
  • allow using cjs as default config (#1775)
  • add support for merging multiple configurations (#1768)
  • add support to spawn multiple compilers with different configs (#1765)
  • add name flag (#1757)
  • add --config-name flag (#1753)
  • serve integration (#1712)
  • add support for .cjs config (#1727)
  • support multiple env params (#1715)
  • add stats detailed option (#1359)
  • add flag to force config (f61e7e0)
  • support command aliases with webpack-cli version (#1664)
  • add support for none config in dotfolder (#1637)
  • validate user input (#1610)
  • parse Number flags (#1652)
  • allow multiple types for --stats (ca2d593)
  • show up cli flag aliases with webpack help <arg> (#1647)
  • allow multiple targets (#1799)
  • 🎸 add support for env flag (#1598)
  • allow only specified negated flags (#1613)
  • add init to webpack-cli (#1609)
  • webpack-cli: webpack stats (#1299)
  • test case for passing in unknown flags (#1214)
  • webpack-cli: add mode argument validation (#1290)
  • webpack-cli: add --no-stats flag (#1654)
  • webpack-cli: --version for external packages (#1421)
  • webpack-cli: add alias for version (#1405)
  • webpack-cli: import flags from webpack core (#1630)
  • webpack-cli: allow multiple entry files (#1619)
  • webpack-cli: allow negative property for cli-flags (#1668)
  • webpack-cli: add no-mode flag (#1276)
  • webpack-cli: create a cli executer (#1255)
  • webpack-cli: added mode argument (#1253)
  • webpack-cli: add progress bar for progress flag (#1238)
  • webpack-cli: add --no-hot flag (#1591)

Fix

  • webpack-cli: verbose flag functionality (#1549)
  • ci for webpack@beta.30 (#1801)
  • use compiler.apply for Progress Plugin (#1772)
  • remove yes (279c43f)
  • throw err when supplied config is absent (#1760)
  • allow unknown files to use default require as fallback (#1747)
  • use appropriate exit codes (#1755)
  • peer dependencies for webpack serve (#1317)
  • yarn.lock conflicts on setup (#1367)
  • conditionally install terser-webpack-plugin for webpack@next (#1732)
  • generated loader template (#1720)
  • supply argv to config with functions (#1721)
  • rename sourcemap flag to devtool (#1723)
  • generated plugin template (#1717)
  • warn about merge config resolution cases (#1674)
  • use fileTypes from interpret (#1690)
  • set mode=production by default (#1688)
  • promise support in config (#1666)
  • show version information for plugin and loader (#1661)
  • prevent info from running unnecessarily (#1650)
  • json flag, enable tests (#1460)
  • consistent webpack plugin name (#1480)
  • typo in Compiler.js (#1580)
  • 🐛 do not apply own defaults while setting mode (#1565)
  • compatibility with webpack@next (#1779)
  • throw error for invalid args (#1462)
  • regression with migrate command (7ebcbb8)
  • generators: fix generators init loader's test regex (#1309)
  • release beta (f1f05d8)
  • cli: fix file resolution inside group helper (#1221)
  • generators: fix and refactor entry util, add tests (#1392)
  • generators: fix small issues with generators (#1385)
  • info: throw an error if help or version is passed as an arg (#1737)
  • init: fix the invalid package name (#1228)
  • init: fix webpack config scaffold (#1231)
  • packages: make packages have correct main paths to index (#1366)
  • serve: merge CLI and devServer options correctly (#1649)
  • serve: supplying help or version as an arg should throw error (#1694)
  • utils: respect package-lock.json (#1375)
  • webpack-cli: to void defaultEntry override the webpack config entry (#1289)
  • webpack-cli: add configuration for mode option none (#1303)
  • webpack-cli: handle promise rejection with package installation (#1284)
  • webpack-cli: correct cli-flags usage (#1441)
  • webpack-cli: fixed support for SCSS entry points (#1271)
  • webpack-cli: handle promise rejection happening with cli-executor (#1269)
  • webpack-cli: prefer import local (#1345)
  • webpack-cli: remove invalid stats warning with json flag (#1587)
  • webpack-cli: add value none in mode usage (#1411)
  • webpack-cli: prefetch flag implementation (#1583)

Perf

  • do not spawn new process for running webpack (#1741)

Refactor

  • remove --dev and --prod flags and their aliases -d and -p (#1693)
  • remove duplicate invocation (#1790)
  • cliExecuter consumes runCLI (#1754)
  • remove --mode flag validation (#1744)
  • use console for logging (#1740)
  • use logger (#1748)
  • remove stale code (#1670)
  • remove plugin flag (#1571)
  • 💡 remove defaults flag (#1543)
  • refactor info package (#1382)
  • webpack-cli: remove --no-mode flag (#1503)

Misc

  • feat[utils]: opt to use config schema from core (#1655)
  • migrate to commander (#1481)
  • Fix loader-generator and plugin-generator tests (#1250)
  • Fixing the typos and grammatical errors in Readme files (#1246)
  • remove code: remove unused code (#1800)

3.3.12 (2020-06-03)

Full Changelog

3.3.11 (2020-02-11)

Full Changelog

3.3.10 (2019-10-31)

Full Changelog

New Features

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

3.3.9 (2019-09-17)

Full Changelog

Fix

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

3.3.8 (2019-09-05)

Full Changelog

Fix

  • support both webpack versions (d28f9f5)

Tests

3.3.7 (2019-08-18)

Full Changelog

Fix

  • resolve opts when no-config (fb31cc4)

3.3.6 (2019-07-14)

Full Changelog

Docs

  • remove deprecated packages description (#979)

Fix

3.3.5 (2019-06-23)

Full Changelog

CLI

Fix

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

3.3.4 (2019-06-11)

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

3.3.3 (2019-06-07)

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)

3.3.2 (2019-05-04)

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)

3.3.1 (2019-04-21)

Full Changelog

New Features

  • 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

  • contributing: fixes dead link (#835)
  • opencollective prompt: improve code clarity (55992a4)
  • packages: adds downloads/month shield (6a0375a)
  • 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)
  • 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

  • Remove tslint in favour of eslint (#834)
  • cli: refactor functions into utils and config dirs, merge yargs options (#781)
  • utils: refactors scaffold (0b28fb3)

3.3.0 (2019-03-15)

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)

3.2.2 (2019-02-05)

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)

3.1.2 (2018-09-29)

Full Changelog

Docs

  • init: update headers (dc4ded9)
  • init: update init documentation (2ccf9a9)
  • readme: update webpack-cli to webpack CLI (f3a225a)
  • readme: change addons to scaffolds (747aef9)
  • readme: update links (f8187f1)
  • readme: update README.md (#614)
  • readme: update Readme based on feedback (da05c2f)

Fix

3.1.1 (2018-09-23)

Full Changelog

New Features

  • migrate: CommonChunksPlugin to SplitChunksPlugin (#558)
  • types: types for packages (#578)

CLI

  • allow array value for --ouput-library (#559)

Docs

  • fixed latest changelog link (#556)
  • migrate documentaion (#554)
  • init documentaion (#547)
  • contribution: fix the setup workflow #591 (#597)
  • typedoc: add ts docs (#571)

Fix

  • generate-loader: include example template in npm package (d26ea82)
  • generate-plugin: include example template in npm package (77fa723)
  • package: update import-local to version 2.0.0 🚀 (#576)
  • prettier: add parser, filePath (#553)
  • schema: resolve references in schema (#605)

Misc

  • Revert "cli: allow array value for --ouput-library (#559)" (#561)

3.1.0 (2018-07-18)

Full Changelog

New Features

  • generators: add typescript support (c1844f8)
  • init: add typescript support (222ccdc)
  • make: add typescript support (4b574d9)
  • remove: add typescript support (f1623ed)
  • scaffold: add typescript support (eaf6fdf)
  • scaffold: add typescript support (f611c27)
  • serve: add typescript support (d313421)
  • types: add webpack types schema (90909e4)
  • typescript: setup base infra (fe25465)
  • typescript: setup base infra (373a304)
  • update: add typescript support (53505b9)
  • utils: add typescript support (47702cb)

Ast

Docs

  • update jsdoc (#507)
  • update jsdoc (#507)
  • update jsdoc (#507)
  • pkg: readme file for add package (#498)
  • pkg: readme info (#497)
  • pkg: readme info (#497)

Fix

  • default named import bug (ce956c0)
  • generators: named export (8adbe9e)

Misc

  • Update yargs to the latest version 🚀 (#533)

0.0.8-development (2018-06-15, webpack CLI v.3)

Full Changelog

Ast

  • parser: add (#456)

CLI

  • add: re-add add command (bf78411)
  • color: don't use color on non-tty (#452)
  • init: Better defaults (#451)
  • symlinks: Fix paths (#453)

Fix

  • cli: show help flag when defaults fail (#466)
  • vulnerabilities: vulnerabilities patch for v3 (#460)

Tests

  • cov: use regular nyc on tests (3aa96ce)
  • coverage: fix coverage (#473)
  • no-options: refactor tests (7be10d8)
  • parser: fix recursive-tests signature (#470)

Misc

  • Added yarn lock file to gitignore (#455)

0.0.6 (2018-05-17)

Full Changelog

CLI

Misc

0.0.5 (2018-05-17)

Full Changelog

Misc

0.0.4 (2018-05-17)

Full Changelog

Misc

0.0.3 (2018-05-17)

Full Changelog

Misc

0.0.2 (2018-05-17)

Full Changelog

Misc

0.0.1 (2018-05-17)

Full Changelog

CLI

Fix

  • monorepo: fix versions in pacakges (2b3035c)
  • monorepo: update lock files (ca8f5c1)
  • monorepo: fix cross spawn versions (0fcc5b3)
  • monorepo: fix lint errors (74fb759)
  • revert: packagejson (3dd244b)

Misc

2.1.3 (2018-05-06)

Full Changelog

CLI

  • cmds: revise yargs command (#422)

2.0.14 (2018-04-05)

Full Changelog

New Features

  • use npm ci for tests (#367) (#368)
  • add envinfo as webpack-cli info command (51ab19f)
  • --entry should override config.entry (#155) (#358)

CLI

  • refactor: improve folder structure (#371)

Fix

  • loader,plugin: fix generators path bug (b4bfafb)

2.0.13 (2018-03-22)

Full Changelog

CLI

  • init: add webpack-cli dep (#347)

2.0.12 (2018-03-14)

Full Changelog

New Features

  • support --build-delimiter for opt-in output delimiter (#192) (#340)

Fix

  • removes debug in migrate (#342)

Misc

  • cz: fix type description (#339)
  • init: fix global-modules require statement in package-manager (610aa02)
  • init-generator: cleanup (b8c3145)

2.0.11 (2018-03-10)

Full Changelog

CLI

  • init: Refactor Yeoman (#323)
  • tapable: Remove Tapable#apply calls (#305)

Docs

  • update README to remove inconsistent CLI messaging (#327) (#328)

Fix

  • migrate: move options to use (#308)
  • adding 'fix' to whitelist (10a00df)

Misc

  • deps: clean up dependencies (7078282)
  • generator: Allow local paths to generators (#265)
  • grammar: revise spelling and incorrect syntax (#293)
  • readme: add npm badge (#303)

2.0.10 (2018-03-02)

Full Changelog

New Features

  • show help when no options given (a7ee15a)
  • chore: add project tools and utilities (#270)

Ast

CLI

  • devServer: change devServer path (c27e961)
  • version: v.2.0.8 (9406912)

Fix

  • generator: use yeoman clone (0b4269c)
  • yeoman-generator fork issue (#294)
  • Resolve webpack dependencies (#251)
  • change help logic (d67f4b7)

Improvement

  • add an option to watch messaging. Add .idea to .gitignore (#200)

Refactor

  • convert-args: remove unused arguments (#253)

Style

Misc

  • refactor: reduce code duplication use process.exitCode instead of process.exit (#272)
  • [feature] configuration validation (#240)
  • Commitlint (#300)
  • Change from git:// to https:// (#259)
  • Add jsdoc comments for migrate (#255)
  • strict Promise configuration validation (#298)
  • Refactor bin directory (#263)
  • Issue 249 fixed and other enums refactored (#264)
  • remove yargs major update due security compromise (9bd7ed4)
  • Revert "Show help on no command" (#276)
  • 2.0.5 (94ac6db)
  • v.2.0.6 (4333088)
  • fix typo.. (0f1cee6)
  • binTestCases: remove obsolete snapshot (42301d7)
  • dep: add webpack 4 as peer dependency (#297)
  • migrate: prettify output (#281)
  • revert: revert supports-color usage (f8e819a)
  • revert: revert supports-color usage (75f706b)
  • syntax: prettify (5cb146f)
  • yargs: add description for module-bind-* args (#286)

2.0.9 (2018-02-25)

Full Changelog

Ast

CLI

  • devServer: change devServer path (c27e961)
  • version: v.2.0.8 (9406912)

Feat

  • show help when no options given (a7ee15a)
  • chore: add project tools and utilities (#270)

Fix

  • Resolve webpack dependencies (#251)
  • change help logic (d67f4b7)
  • generator: use yeoman clone (0b4269c)

Improvement

  • add an option to watch messaging. Add .idea to .gitignore (#200)

Refactor

  • convert-args: remove unused arguments (#253)

Style

Misc

  • remove yargs major update due security compromise (9bd7ed4)
  • Revert "Show help on no command" (#276)
  • v.2.0.6 (4333088)
  • fix typo.. (0f1cee6)
  • 2.0.5 (94ac6db)
  • Change from git:// to https:// (#259)
  • Issue 249 fixed and other enums refactored (#264)
  • Refactor bin directory (#263)
  • Add jsdoc comments for migrate (#255)
  • [feature] configuration validation (#240)
  • refactor: reduce code duplication use process.exitCode instead of process.exit (#272)

2.0.7 (2018-02-24)

Full Changelog

Feat

  • show help when no options given (a7ee15a)
  • chore: add project tools and utilities (#270)

Fix

  • Resolve webpack dependencies (#251)
  • change help logic (d67f4b7)

Improvement

  • add an option to watch messaging. Add .idea to .gitignore (#200)

Refactor

  • convert-args: remove unused arguments (#253)

Style

Misc

  • remove yargs major update due security compromise (9bd7ed4)
  • Revert "Show help on no command" (#276)
  • v.2.0.6 (4333088)
  • fix typo.. (0f1cee6)
  • 2.0.5 (94ac6db)
  • Change from git:// to https:// (#259)
  • Issue 249 fixed and other enums refactored (#264)
  • Refactor bin directory (#263)
  • Add jsdoc comments for migrate (#255)
  • [feature] configuration validation (#240)
  • refactor: reduce code duplication use process.exitCode instead of process.exit (#272)

2.0.6 (2018-02-20)

Full Changelog

Feat

  • show help when no options given (a7ee15a)

Fix

  • Resolve webpack dependencies (#251)
  • change help logic (d67f4b7)

Improvement

  • add an option to watch messaging. Add .idea to .gitignore (#200)

Refactor

  • convert-args: remove unused arguments (#253)

Style

Misc

  • remove yargs major update due security compromise (9bd7ed4)
  • [feature] configuration validation (#240)
  • v.2.0.6 (4333088)
  • fix typo.. (0f1cee6)
  • 2.0.5 (94ac6db)
  • Change from git:// to https:// (#259)
  • Issue 249 fixed and other enums refactored (#264)
  • Refactor bin directory (#263)
  • Add jsdoc comments for migrate (#255)
  • add commitlinting: adds commit linting to the cli (7e4dd3d)
  • add eslint ignore items: adds build folder and commit linter to ignore (a400809)

2.0.0 (2017-12-21)

  • Adds add
  • Remove some mocks
  • Remove validationschema and ajv dependencies
  • Update Jest & Jest-cli
  • Remove unused dependencies
  • Creator is now init
  • Using env preset (#197)
  • Using Yarn (#203)
  • Using peer dep of webpack
  • Transformations is now migrate
  • Init has its own generator
  • Commands are refactored into a HOC and sent to a folder for each command with an helper for scaffolding aliases
  • Using RawList instead of List for better usability (82c64db)
  • lib/transformations/util is now in lib/utils/ast-utils
  • Each AST module now has an extra argument that specifies action to be done
  • FindPluginsByRoot is now FindRootByName and more generalistic
  • Added ast util function createEmptyCallableFunctionWithArguments
  • Refactor for readability (#214)
  • Remove dist from repo (#215)
  • Remove entry and output validation (#217)
  • topScope now checks if the import already is present
  • Updated test errors/issue-5576, remember to sync with webpack/next
  • User friendly startup message (#218)
  • Migrate now uses prettier (88aaaa2
  • Added transform for mode (972d4cd
  • Remove recast fork (fba04da)
  • New transforms (b416d9c)
  • JSdocs are added (47de46a)
  • Added serve alias (#204)
  • Migrate has new validate logic (c4c68e8)
  • webpack serve logic (5d4430a)
  • webpack --config-register and webpack -r is added (1f24d19)
  • work on makefile generation (d86e1ce)
  • Appveyor is added (9b2f6f5)
  • Remove commit-validate from docs (#222)
  • Added transform ResolveLoader (7c713ce)
  • Using v8-compile-cache (7e57314)
  • Adds webpack-cli bot (#224)

1.3.2 (2017-05-15)

Bug Fixes

  • add css-loader appropriately (#141) (a71600e)
  • Deps 'webpack' and 'uglifyjs-webpack-plugin' not installed when user answers yes to 'using ES2015' (#135). (#136) (524f035)
  • Install correct (es2015) babel preset to match generated config (#138) (b0af53f)
  • use correct test function (#129) (3464d9e)

1.3.1 (2017-05-02)

Bug Fixes

Features

  • Add beautifier config for JS code (64c88ea)
  • Add commit validation and commits template (d0cbfc0)
  • Add editorconfig settings from core webpack (89809de)
  • Add yarn settings to handle dependencies (34579c7)
  • Adds a resolved path for output (#80) (37a594d)
  • Introduce reserve and timestamps (#24) (ed267b4)
  • Webpack-CLI version 1(#105)
  • Feature: Use listr to display progress and errors for transformations(#92)
  • Feature: Jscodeshift Transformations for --migrate (#40)