From 35eaf0f97e1cc4001c4d490c812dc93f229b93bb Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 27 Aug 2018 16:45:21 -0400 Subject: [PATCH] Update Webpack.md --- Webpack.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Webpack.md b/Webpack.md index 9e33b92..f4a51e9 100755 --- a/Webpack.md +++ b/Webpack.md @@ -21,6 +21,8 @@ npm init npm install webpack --save-dev ``` +If you're asked, install `webpack-cli` as well. + Create a test file: ``` @@ -43,7 +45,7 @@ mkdir dist We can now run: ``` -./node_modules/.bin/webpack js/index.js dist/bundle.js +./node_modules/.bin/webpack js/index.js -o dist/bundle.js ``` Create a basic HTML file (`index.html`):