Skip to content

docs(cli) remove webpack-command #2447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/content/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ contributors:
- chenxsan
- rencire
- madhavarshney
- EugeneHlushko
related:
- title: Analyzing Build Statistics
url: https://survivejs.com/webpack/optimizing-build/analyzing-build-statistics/
Expand All @@ -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.


Expand Down
2 changes: 1 addition & 1 deletion src/content/guides/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ contributors:
- pksjce
- bebraw
- simon04
- EugeneHlushko
---

This guide goes through the various methods used to install webpack.
Expand Down Expand Up @@ -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
Expand Down