-
Notifications
You must be signed in to change notification settings - Fork 99
Open

Description
Just FYI,
In your webpack.config.js file loaders should look something like this.
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loaders: [
'react-hot-loader/webpack',
'babel-loader?presets[]=react,presets[]=es2015'
]
}
]
}
Webpack requires that you put -loader after each loader and also for the react-hot-loader we need to now add /webpack. :). Hope this helps someone else following the Youtube tutorial. Thanks so much for creating the tutorial.
Metadata
Metadata
Assignees
Labels
No labels