diff --git a/index.js b/index.js index 587cf75..ad84c04 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ function replaceStringsWithRequires(string) { module.exports = function(source, sourcemap) { var config = {}; - var query = loaderUtils.parseQuery(this.query); + var query = loaderUtils.getOptions(this); var styleProperty = 'styles'; var templateProperty = 'template'; diff --git a/package.json b/package.json index 48a5795..3c0f6ee 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "should": "^9.0.0" }, "dependencies": { - "loader-utils": "^0.2.15" + "loader-utils": "1.1.0" } }