Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix deprecated warning
  • Loading branch information
ryantd committed Feb 24, 2017
commit ca91598db09bde116d70d7e9c5e0ca9954d38820
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = function (source, map) {

var loader = this;
var file = loader.resourcePath;
var params = loaderUtils.parseQuery(loader.query);
var params = loaderUtils.getOptions(loader) || {}

var options = params.plugins || loader.options.postcss;
var pack = params.pack;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"repository": "postcss/postcss-loader",
"dependencies": {
"loader-utils": "^0.2.16",
"loader-utils": "^1.0.2",
"object-assign": "^4.1.1",
"postcss": "^5.2.14",
"postcss-load-config": "^1.2.0"
Expand Down