- Create webpack config and define entry file and bundle path
- Install babel-loader, @babel/preset-env, @babel/core as dev dependency
- Add babel-loader to webpack config
- Adjust npm script "build"
- Generate bundle with webpack
- Confirm that bundle is ES5 code
- Import css files (style.css & bootstrap) into app.js
- Add style / css loaders (check webpack loaders page)
- Configure that css files are handled
- Configure dist folder output
- Add html-webpack-plugin
- Configure html webpack plugin to create html file in dist folder using a template