From b533fce4e32f8c16e3d004f7b1bf85b6a266518a Mon Sep 17 00:00:00 2001 From: slowbackspace Date: Tue, 18 Dec 2018 14:57:55 +0100 Subject: [PATCH] css loader: exclude node_modules --- webpack/dev.babel.js | 1 + webpack/local.babel.js | 1 + webpack/production.babel.js | 1 + 3 files changed, 3 insertions(+) diff --git a/webpack/dev.babel.js b/webpack/dev.babel.js index 801c6e1e..d84e9510 100644 --- a/webpack/dev.babel.js +++ b/webpack/dev.babel.js @@ -86,6 +86,7 @@ module.exports = { }, { test: /\.css$/, + exclude: /(node_modules)/, use: ['style-loader', 'css-loader'], }, ], diff --git a/webpack/local.babel.js b/webpack/local.babel.js index 2924a0a2..463246f9 100644 --- a/webpack/local.babel.js +++ b/webpack/local.babel.js @@ -100,6 +100,7 @@ module.exports = { }, { test: /\.css$/, + exclude: /(node_modules)/, use: ['style-loader', 'css-loader'], }, ], diff --git a/webpack/production.babel.js b/webpack/production.babel.js index 6a53f62c..d7d35db6 100644 --- a/webpack/production.babel.js +++ b/webpack/production.babel.js @@ -53,6 +53,7 @@ module.exports = { }, { test: /\.css$/, + exclude: /(node_modules)/, use: ['style-loader', 'css-loader'], }, ],