Project Setup

In notebook:
Building Modern Web Apps
Created at:
Webpack libraries

If wanted to start from zero

  1. make a dir
  2. npm init
  3. ​script​ sections; {build, deploy,start,yolo} create commands to run
  4. npm start 
About Webpack
Modular build tool, used by Facebook
Extremely powerful. Hard to set up. &Yet created a tool for the setup. 

requires hjs-webpack 
Just add "in", "out" and "clearBeforBuild" parameters. All you need to start with webpack. 
Based on development or deployment mode it creates different sets of files of different options.