From c06e8ade753facd02bf17a4e166f2a25fa4eca5d Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Wed, 15 Aug 2018 12:59:13 +0300 Subject: [PATCH] docs(cli) remove webpack-command --- src/content/api/cli.md | 6 +----- src/content/guides/installation.md | 8 +------- 2 files changed, 2 insertions(+), 12 deletions(-) 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 f8a9537b70c4..4cc560eb9931 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,13 +35,6 @@ If you're using webpack v4 or later, you'll need to install a [CLI](/api/cli/). npm install --save-dev webpack-cli ``` -or - -``` bash -npm install --save-dev webpack-command -``` - - 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