Socket
Socket
Sign inDemoInstall

webpack-cli

Package Overview
Dependencies
13
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
13Next

4.9.1

Diff

Changelog

Source

4.9.1 (2021-10-18)

Bug Fixes

  • compatibility with dynamic import (#3006) (6a9aac9)
evilebottnawi
published 4.9.0 •

Changelog

Source

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)
evilebottnawi
published 4.8.0 •

Changelog

Source

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)
evilebottnawi
published 4.7.2 •

Changelog

Source

4.7.2 (2021-06-07)

Note: Version bump only for package webpack-cli (due @webpack-cli/serve)

evilebottnawi
published 4.7.1 •

Changelog

Source

4.7.1 (2021-06-07)

Bug Fixes

evilebottnawi
published 4.7.0 •

Changelog

Source

4.7.0 (2021-05-06)

Bug Fixes

Features

evilebottnawi
published 4.6.0 •

Changelog

Source

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)
evilebottnawi
published 4.5.0 •

Changelog

Source

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

Features

evilebottnawi
published 4.4.0 •

Changelog

Source

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

evilebottnawi
published 4.3.1 •

Changelog

Source

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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc