Example JS Library

Take a look at Gruntfile.js for an example of how to build a JS library with webpack.