From 387667fd3770354eab423369557964d08ceb0027 Mon Sep 17 00:00:00 2001 From: Aliaksandr Barouski Date: Tue, 21 Mar 2017 17:39:35 +0000 Subject: [PATCH] Updated loader-utils version --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..3ee516b 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "should": "^9.0.0" }, "dependencies": { - "loader-utils": "^0.2.15" + "loader-utils": "^1.0.0" } }