Skip to content

Commit 59a5d15

Browse files
committed
1 parent e928350 commit 59a5d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = function(content) {
4242
var match = /^%CSSURL\[%(["']?(.*?)["']?)%\]CSSURL%$/.exec(JSON.parse('"' + str + '"'));
4343
var url = loaderUtils.parseString(match[2]);
4444
if(!loaderUtils.isUrlRequest(match[2], root)) return JSON.stringify(match[1]).replace(/^"|"$/g, "");
45-
var idx = url.indexOf("?");
45+
var idx = url.indexOf("?#");
4646
if(idx < 0) idx = url.indexOf("#");
4747
if(idx > 0) {
4848
// in cases like url('webfont.eot?#iefix')

0 commit comments

Comments
 (0)