diff --git a/docs/jsx.md b/docs/jsx.md index 826d8ce0..8c715072 100644 --- a/docs/jsx.md +++ b/docs/jsx.md @@ -121,7 +121,7 @@ module.exports = { filename: 'app.js', }, module: { - loaders: [{ + rules: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'