diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 65b3936ccb8..2a163eb4fa0 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -67,7 +67,7 @@ module.exports = { }, { test: /\.css$/, - include: srcPath, + include: [srcPath, nodeModulesPath], loader: 'style!css!postcss' }, { diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index f372286a279..94f64b087bc 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -63,7 +63,7 @@ module.exports = { }, { test: /\.css$/, - include: srcPath, + include: [srcPath, nodeModulesPath], // Disable autoprefixer in css-loader itself: // https://github.com/webpack/css-loader/issues/281 // We already have it thanks to postcss.