diff --git a/src/content/api/cli.md b/src/content/api/cli.md index 2a29419d2a42..9b23fed15246 100644 --- a/src/content/api/cli.md +++ b/src/content/api/cli.md @@ -8,6 +8,7 @@ contributors: - chenxsan - rencire - madhavarshney + - EugeneHlushko related: - title: Analyzing Build Statistics url: https://survivejs.com/webpack/optimizing-build/analyzing-build-statistics/ @@ -23,11 +24,6 @@ related: For proper usage and easy distribution of this configuration, webpack can be configured with `webpack.config.js`. Any parameters sent to the CLI will map to a corresponding parameter in the config file. -Users have a choice between two CLI packages: - -* [webpack-cli](https://github.com/webpack/webpack-cli): the original webpack full-featured CLI. -* [webpack-command](https://github.com/webpack-contrib/webpack-command): the lightweight, opinionated and modern CLI. - Read the [installation guide](/guides/installation) if you don't already have webpack and CLI installed. diff --git a/src/content/guides/installation.md b/src/content/guides/installation.md index 555facd5b129..663af022c76a 100644 --- a/src/content/guides/installation.md +++ b/src/content/guides/installation.md @@ -5,6 +5,7 @@ contributors: - pksjce - bebraw - simon04 + - EugeneHlushko --- This guide goes through the various methods used to install webpack. @@ -34,7 +35,6 @@ If you're using webpack v4 or later, you'll need to install the [CLI](/api/cli/) npm install --save-dev webpack-cli ``` - Installing locally is what we recommend for most projects. This makes it easier to upgrade projects individually when breaking changes are introduced. Typically webpack is run via one or more [npm scripts](https://docs.npmjs.com/misc/scripts) which will look for a webpack installation in your local `node_modules` directory: ```json