A tutorial on using ES6 modules with Webpack.
Build:
- Make sure you have
webpack
installed (npm install -g webpack
) - Run
npm install
to install babel-loader and underscore - Execute
webpack
- View
index.html
in a browser
Branches:
master
mocha-chai
: automated testing setup with Mocha, Chai, and Webpack. Place your tests in thesrc
folder in.test.js
files. Run your tests with the commandnpm run test
.