diff --git a/index.js b/index.js index 2b12838d..ab30bbea 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ var loaderUtils = require("loader-utils"), module.exports = function() {}; module.exports.pitch = function(remainingRequest) { if(this.cacheable) this.cacheable(); - var query = loaderUtils.parseQuery(this.query); + var query = loaderUtils.getOptions(this) || {}; return [ "// style-loader: Adds some css to the DOM by adding a