From 202d9cd0b60b062b30a73823cf47beb192c8e060 Mon Sep 17 00:00:00 2001 From: Kumar Date: Sat, 3 Mar 2018 12:09:28 +0530 Subject: [PATCH] The CLI moved into a separate package: webpack-cli --- src/content/guides/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/guides/getting-started.md b/src/content/guides/getting-started.md index 33e74ba9c33b..997349e3680b 100644 --- a/src/content/guides/getting-started.md +++ b/src/content/guides/getting-started.md @@ -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: @@ -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 @@ -236,7 +236,7 @@ __package.json__ { ... "scripts": { - "build": "webpack" + "build": "webpack-cli" }, ... }