diff --git a/index.js b/index.js index 584d278..b3db558 100644 --- a/index.js +++ b/index.js @@ -60,7 +60,7 @@ function SVGInlineLoader(content) { this.cacheable && this.cacheable(); this.value = content; // Configuration - var query = loaderUtils.parseQuery(this.query); + var query = loaderUtils.parseQuery('?' + JSON.stringify(this.query)); return "module.exports = " + JSON.stringify(getExtractedSVG(content, query)); }