Skip to content

docs(guide): The CLI moved into a separate package: webpack-cli #1877

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

Closed
wants to merge 1 commit into from
Closed
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: 3 additions & 3 deletions src/content/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ First let's create a directory, initialize npm, and [install webpack locally](/g
``` bash
mkdir webpack-demo && cd webpack-demo
npm init -y
npm install --save-dev webpack
npm install --save-dev webpack webpack-cli
```

Now we'll create the following directory structure and contents:
Expand Down Expand Up @@ -206,7 +206,7 @@ module.exports = {
Now, let's run the build again but instead using our new configuration:

``` bash
npx webpack --config webpack.config.js
npx webpack-cli --config webpack.config.js

Hash: 857f878815ce63ad5b4f
Version: webpack 3.9.1
Expand Down Expand Up @@ -236,7 +236,7 @@ __package.json__
{
...
"scripts": {
"build": "webpack"
"build": "webpack-cli"
},
...
}
Expand Down