From 6d7aebb64f3ecf9befb3d37d265495946f0045a9 Mon Sep 17 00:00:00 2001 From: Caleb Date: Mon, 2 Oct 2017 20:37:20 -0600 Subject: [PATCH] Fix notif styles. The default `redux-notifications` styles shouldn't be run through the module prefixer. --- webpack.base.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/webpack.base.js b/webpack.base.js index a428e392..d69c786a 100644 --- a/webpack.base.js +++ b/webpack.base.js @@ -13,11 +13,19 @@ module.exports = { exclude: /node_modules/, }, { - /* CSS loader for npm modules that are shipped with CSS. + /* CSS loader for npm modules that are shipped with CSS that should be loaded without processing. List all of theme in the array */ test: /\.css$/, - include: [/redux-notifications/, /react-toolbox/, /normalize.css/], + include: [/redux-notifications/], + use: ExtractTextPlugin.extract({ + fallback: 'style-loader', + use: 'css-loader', + }), + }, + { + test: /\.css$/, + include: [/react-toolbox/, /normalize.css/], use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: [