Skip to content

Commit

Permalink
Fix deprecated use of loaderUtils.parseQuery() (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gastonite authored and TimothyGu committed May 2, 2017
1 parent e667adf commit 3dc9a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function(source) {

var req = loaderUtils.getRemainingRequest(this).replace(/^!/, "");

var query = loaderUtils.getLoaderConfig(this, "pugLoader");
var query = loaderUtils.getOptions(this);

var loadModule = this.loadModule;
var resolve = this.resolve;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Timothy Gu <[email protected]>"
],
"dependencies": {
"loader-utils": "~0.2.5",
"loader-utils": "^1.1.0",
"pug-walk": "^1.0.0",
"resolve": "^1.1.7"
},
Expand Down

0 comments on commit 3dc9a29

Please sign in to comment.