Installation
Webpack
Start by installing Webpack globally
npm install -g webpack
When developing, it is good practice to add Webpack as a dependency to your project.
npm install --save-dev webpack
WebpackDevServer
Webpack comes with a package for use while developing.
It allows you to build and serve your files on the fly with auto rebuild when you update your files and some other lovely things!
Go ahead and install it in your project.
npm install --save-dev webpack-dev-server