Commit a35ac928 authored by Glenn Reyes's avatar Glenn Reyes Committed by Max Stoiber
Browse files

Resolve imported CSS files from node_modules (#105)

* Resolve imported CSS files from anywhere
* Resolve imported CSS files from src and node_modules folder only

Closes #103
parent 3ac4035a
Showing with 2 additions and 2 deletions
+2 -2
...@@ -67,7 +67,7 @@ module.exports = { ...@@ -67,7 +67,7 @@ module.exports = {
}, },
{ {
test: /\.css$/, test: /\.css$/,
include: srcPath, include: [srcPath, nodeModulesPath],
loader: 'style!css!postcss' loader: 'style!css!postcss'
}, },
{ {
......
...@@ -63,7 +63,7 @@ module.exports = { ...@@ -63,7 +63,7 @@ module.exports = {
}, },
{ {
test: /\.css$/, test: /\.css$/,
include: srcPath, include: [srcPath, nodeModulesPath],
// Disable autoprefixer in css-loader itself: // Disable autoprefixer in css-loader itself:
// https://github.com/webpack/css-loader/issues/281 // https://github.com/webpack/css-loader/issues/281
// We already have it thanks to postcss. // We already have it thanks to postcss.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment