We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e928350 commit 59a5d15Copy full SHA for 59a5d15
index.js
@@ -42,7 +42,7 @@ module.exports = function(content) {
42
var match = /^%CSSURL\[%(["']?(.*?)["']?)%\]CSSURL%$/.exec(JSON.parse('"' + str + '"'));
43
var url = loaderUtils.parseString(match[2]);
44
if(!loaderUtils.isUrlRequest(match[2], root)) return JSON.stringify(match[1]).replace(/^"|"$/g, "");
45
- var idx = url.indexOf("?");
+ var idx = url.indexOf("?#");
46
if(idx < 0) idx = url.indexOf("#");
47
if(idx > 0) {
48
// in cases like url('webfont.eot?#iefix')
0 commit comments