Skip to content

Releases: webpack/webpack-cli

webpack-cli@7.2.1

Choose a tag to compare

@github-actions github-actions released this 04 Jul 19:59
71e34db

Patch Changes

webpack-cli@7.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Jul 17:31
40b631f

Minor Changes

  • feat: allow webpack-dev-server v6 as an optional peer dependency (^5.0.0 || ^6.0.0) (by @bjohansebas in #4793)

  • Support tsx as a fallback loader for TypeScript and JSX configuration files (.ts, .tsx, .cts, .mts and .jsx), used when none of the loaders known to interpret (such as ts-node) are installed. (by @alexander-akait in #4796)

webpack-cli@7.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 13:35
3cd7423

Minor Changes

  • feat(cli): refresh the --help output using commander's configureHelp API — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or --no-color is used, so scripts keep working. (by @alexander-akait in #4779)

  • feat: support .json5, .yaml/.yml and .toml configuration files by parsing them directly, with the parser package (json5, js-yaml, toml) installed on demand by the user and declared as optional peerDependencies so the parsers resolve correctly under Yarn PnP (by @alexander-akait in #4777)

webpack-cli@7.0.3

Choose a tag to compare

@github-actions github-actions released this 27 May 16:36
5fb92f3

Patch Changes

  • Improved CLI startup performance and reduced memory usage. (by @alexander-akait in #4765)

  • Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery. (by @alexander-akait in #4760)

  • Replace the fastest-levenshtein dependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by @alexander-akait in #4762)

create-webpack-app@2.1.0

Choose a tag to compare

@github-actions github-actions released this 27 May 16:36
5fb92f3

Minor Changes

Patch Changes

webpack-cli@7.0.2

Choose a tag to compare

@github-actions github-actions released this 17 Mar 11:53
49efdc0

Patch Changes

webpack-cli@7.0.1

Choose a tag to compare

@github-actions github-actions released this 16 Mar 18:26
173e4bf

Patch Changes

  • The file protocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702)

create-webpack-app@2.0.1

Choose a tag to compare

@github-actions github-actions released this 16 Mar 23:09
fd02100

Patch Changes

webpack-cli@7.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 17:30
0b116f7

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-env argument in favor of the --config-node-env argument. (by @alexander-akait in #4677)

  • The version command 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

create-new-webpack-app@2.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 17:30
0b116f7

Major Changes