Skip to content

Commit

Permalink
fix(getOptions): deprecation warn in loaderUtils (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantd authored and joshwiens committed Feb 25, 2017
1 parent b2f47d7 commit 03b3c99
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 @@ -8,7 +8,7 @@ module.exports = function(source) {
this.cacheable && this.cacheable();
var coffeeRequest = loaderUtils.getRemainingRequest(this);
var jsRequest = loaderUtils.getCurrentRequest(this);
var query = loaderUtils.parseQuery(this.query);
var query = loaderUtils.getOptions(this) || {};
var result;
try {
result = coffee.compile(source, {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Tobias Koppers @sokra",
"description": "coffee loader module for webpack",
"dependencies": {
"loader-utils": "0.2.x"
"loader-utils": "^1.0.2"
},
"peerDependencies": {
"coffee-script": "1.x"
Expand Down

0 comments on commit 03b3c99

Please sign in to comment.