diff --git a/1-basic-react/webpack.config.js b/1-basic-react/webpack.config.js index 6ba7dd8f..2788f629 100644 --- a/1-basic-react/webpack.config.js +++ b/1-basic-react/webpack.config.js @@ -7,7 +7,7 @@ module.exports = { devtool: debug ? "inline-sourcemap" : false, entry: "./js/client.js", module: { - loaders: [ + rules: [ { test: /\.jsx?$/, exclude: /(node_modules|bower_components)/,