Mikeym
This is an issue with the babel-loader and ES6.
Can you change your webpack.config.js to this:
module.exports = {
entry: './src/index.js',
output: {
path: './public/',
filename: 'bundle.js'
},
devServer: {
contentBase: './public/'
},
module: {
loaders: [
{test: /\.js$/, exclude: /node_modules/, loader: 'babel?presets[]=es2015' }
]
}
}