This is me learning webpack and its features. At each commit, I will learn a new feature of webpack and post my learnings in the commit"
001:npm install webpack --save-dev && webpack index.js dist/build.js 002:a little complex require and watch option to webpack. Note: shows only changed file in log while recompiling during watch 003:simple example for code splitting. Using require.ensure() 004:moving to configuration file 005:converting to ES6 using babel-loader 006:adding webpack-dev-server 007:generate index.html with htmlwebpackplugin