Project Setup
If wanted to start from zero
- make a dir
- npm init
script
sections; {build, deploy,start,yolo} create commands to run- npm start
Modular build tool, used by Facebook
Extremely powerful. Hard to set up. &Yet created a tool for the setup.
webpack.config.js
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.