From 981d5b9380bec6166f70cbec5cc1ccb51a2efa32 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 6 Jul 2017 15:03:15 +0300 Subject: [PATCH] feature(webpack) loaders -> rules --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index c86cc703..cbba8323 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,7 +29,7 @@ const plugins = clean([ }), ]); -const loaders = clean([ +const rules = clean([ !isDev && { test: /\.js$/, exclude: /node_modules/, @@ -70,7 +70,7 @@ module.exports = { externals ], module: { - loaders, + rules, }, };