Sep 5, 2018 · 1 min read
For me, react-preset was mising. Had to update webpack.config.js with options — presets — react (see below)
```
module: {
loaders: [
{
test: /\.js$/,
loader: ‘babel-loader’,
options: {
presets: [‘react’]
}
}
]
}
```