From 4a5bc9671b538d8b3c9169c235246d70c170d42f Mon Sep 17 00:00:00 2001 From: ARITRA BASU Date: Sun, 22 Jul 2018 21:25:41 +0530 Subject: [PATCH] loader tag has been renamed to rules in webpack Using loader tag shows up error, since it has been renamed to rules --- 1-basic-react/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)/,