Releases: webpack/webpack-cli
Release list
webpack-cli@7.2.3
Patch Changes
-
fix: resolve the
webpack-dev-servertype from its default export, so the types work with both v5 and v6 (by @bjohansebas in #4834) -
feat: allow
toml@5as a peer dependency for TOML configuration files (by @alexander-akait in #4837)
create-webpack-app@2.2.0
Minor Changes
-
feat: stop asking about HTML and CSS in
init, scaffold TypeScript on webpack's own support, and keep one question for the CSS tools webpack does not cover (PostCSS, Sass, Less, Stylus, and each preprocessor with PostCSS) (by @alexander-akait in #4836) -
feat: use webpack's native CSS and HTML support in the
inittemplates (by @bjohansebas in #4833)
webpack-cli@7.2.2
Patch Changes
- perf: enable the Node.js compile cache (
module.enableCompileCache, available on Node.js >= 22.8.0) to speed up CLI startup (by @bjohansebas in #4818)
webpack-cli@7.2.1
Patch Changes
- fix:
CLIPlugindynamic import interop under Bun (by @alexander-akait in #4799)
webpack-cli@7.2.0
Minor Changes
-
feat: allow
webpack-dev-serverv6 as an optional peer dependency (^5.0.0 || ^6.0.0) (by @bjohansebas in #4793) -
Support
tsxas a fallback loader for TypeScript and JSX configuration files (.ts,.tsx,.cts,.mtsand.jsx), used when none of the loaders known tointerpret(such asts-node) are installed. (by @alexander-akait in #4796)
webpack-cli@7.1.0
Minor Changes
-
feat(cli): refresh the
--helpoutput using commander'sconfigureHelpAPI — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or--no-coloris used, so scripts keep working. (by @alexander-akait in #4779) -
feat: support
.json5,.yaml/.ymland.tomlconfiguration files by parsing them directly, with the parser package (json5,js-yaml,toml) installed on demand by the user and declared as optionalpeerDependenciesso the parsers resolve correctly under Yarn PnP (by @alexander-akait in #4777)
webpack-cli@7.0.3
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-levenshteindependency 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
Minor Changes
- Covert templates to ECMA modules syntax. (by @ThierryRakotomanana in #4709)
Patch Changes
-
Use default logic to determine the host for webpack-dev-server. (by @ThierryRakotomanana in #4715)
-
Generate
webpack.config.tsinstead ofwebpack.config.jswhen TypeScript is selected. (by @ThierryRakotomanana in #4723)
webpack-cli@7.0.2
Patch Changes
- Resolve configuration path for cache build dependencies. (by @alexander-akait in #4707)
webpack-cli@7.0.1
Patch Changes
- The
fileprotocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702)