Skip to content

Commit 53edef5

Browse files
committed
Don't follow url() blocks, just a test
1 parent 87d6eaf commit 53edef5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/processCss.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,6 @@ var parserPlugin = postcss.plugin("css-loader-parser", function(options) {
8888
item.name = "___CSS_LOADER_IMPORT___" + importIndex + "___";
8989
}
9090
break;
91-
case "url":
92-
if(!/^#/.test(item.url) && loaderUtils.isUrlRequest(item.url, options.root)) {
93-
item.stringType = "";
94-
delete item.innerSpacingBefore;
95-
delete item.innerSpacingAfter;
96-
var url = item.url;
97-
item.url = "___CSS_LOADER_URL___" + urlItems.length + "___";
98-
urlItems.push({
99-
url: url
100-
});
101-
}
102-
break;
10391
}
10492
});
10593
});

0 commit comments

Comments
 (0)