Here are some notes about how this project uses Webpack.
- Run
npm install
to download dependencies. - Run
webpack --watch
to compile thedist/bundle.js
when something changes. - In another tab, run
webpack-dev-server
.
View the app at http://localhost:8080/webpack-dev-server/ and Webpack Dev Server will watches for changes and live-reload. jshint
will also lint all javascript files on the fly in the tab you're running webpack --watch
.