code for article pfeilbr/webpack-playground
A project to learn and experiment with the webpack module bundler.
Development
Start local webpack server
$ webpack-dev-server --progress --colors --debug
This serves all changes out of memory. Remember to run
webpack
by itself to persist changesMake code changes. Changes will live reload.
Persist changes by running
$ webpack
Directory and File Details
public/
- client side files
public/lib/index.js
- webpacks entry point
react-app.js
- react application example
demonstrates the usage of
- jsx loader
- css loader
- es6 support
angular-app.js
- angular application example
demonstrates the usage of
- ng-cache loader for views and partials
Twitter • Reddit