https://github.com/ebarra/webpack-boilerplate
Plain webpack 4 boilerplate with Babel, SASS
You only need node.js pre-installed and you’re good to go.
Install dependencies
$ npm install
Run the local webpack-dev-server with livereload and autocompile on http://localhost:8080/
$ npm run dev
Build the current application
$ npm run build
If you're not familiar with webpack, the webpack-dev-server will serve the static files in your build folder and watch your source files for changes. When changes are made the bundle will be recompiled. This modified bundle is served from memory at the relative path specified in publicPath.