Before you do this, make sure you've updated your node version :)
- rename webpack.config.js to webpack.config.babel.js
- npm -i --save-dev babel babel-loader babel-preset-es2015 babel-preset-stage-0
- create a .babelrc file in root directory
- add the following to .babelrc
{
"presets": ["es2015", "stage-0"]
}