Skip to content

webpack-cli@7.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 17:30
· 30 commits to main since this release
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