Update Webpack.md

master
Matt Huntington 7 years ago committed by GitHub
parent 27c7810133
commit 35eaf0f97e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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`):

Loading…
Cancel
Save