webpack-cli

Webpack's Command Line Interface

MIT License

Downloads
105.9M
Stars
2.5K
Committers
131

Bot releases are hidden (Show)

webpack-cli - v5.1.4 Latest Release

Published by alexander-akait over 1 year ago

5.1.4 (2023-06-07)

Bug Fixes

  • multi compiler progress output (f659624)
webpack-cli - v5.1.3

Published by alexander-akait over 1 year ago

5.1.3 (2023-06-04)

Bug Fixes

webpack-cli - v5.1.2

Published by alexander-akait over 1 year ago

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)
webpack-cli - v5.1.1

Published by alexander-akait over 1 year ago

5.1.1 (2023-05-09)

Bug Fixes

  • false positive warning when --watch used (#3783) (c0436ba)
webpack-cli - v5.1.0

Published by alexander-akait over 1 year ago

5.1.0 (2023-05-07)

Features

Performance Improvements

  • simplify logic, reduce extra loops and perf (#3767) (6afe1d3)
webpack-cli - v5.0.2

Published by alexander-akait over 1 year ago

5.0.2 (2023-04-21)

Bug Fixes

  • error message for missing default export in configuration (#3685) (e0a4a09)
  • perf: reduced startup time (3b79059)
webpack-cli - v5.0.1

Published by alexander-akait almost 2 years ago

5.0.1 (2022-12-05)

Bug Fixes

  • make define-process-env-node-env alias node-env (#3514) (346a518)
webpack-cli - v5.0.0

Published by alexander-akait almost 2 years ago

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'
webpack-cli - v4.10.0

Published by alexander-akait over 2 years ago

4.10.0 (2022-06-13)

Bug Fixes

Features

webpack-cli - v4.9.2

Published by alexander-akait over 2 years ago

4.9.2 (2022-01-24)

Bug Fixes

  • respect negatedDescription for flags from schema (#3102) (463b731)
webpack-cli - v4.9.1

Published by alexander-akait about 3 years ago

4.9.1 (2021-10-18)

Bug Fixes

webpack-cli - v4.9.0

Published by alexander-akait about 3 years ago

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)
webpack-cli - v4.8.0

Published by alexander-akait about 3 years ago

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)
webpack-cli - v4.7.2

Published by alexander-akait over 3 years ago

4.7.2 (2021-06-07)

Note: Version bump only for package webpack-cli

webpack-cli - v4.7.1

Published by alexander-akait over 3 years ago

4.7.1 (2021-06-07)

Bug Fixes

webpack-cli - v4.7.0

Published by alexander-akait over 3 years ago

4.7.0 (2021-05-06)

Bug Fixes

Features

webpack-cli - v4.6.0

Published by alexander-akait over 3 years ago

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)
webpack-cli - v4.5.0

Published by alexander-akait over 3 years ago

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

webpack-cli - v4.4.0

Published by alexander-akait over 3 years ago

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)
webpack-cli - v4.3.1

Published by alexander-akait almost 4 years ago

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)