Skip to content

Commit

Permalink
Merge pull request #4 from digital-wonderland/master
Browse files Browse the repository at this point in the history
Call stylefmt with its config in configFile instead of config
  • Loading branch information
tomasAlabes authored Nov 28, 2016
2 parents d1c3fec + 6f5db77 commit a35b619
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"postcss-scss": "0.3.1"
},
"peerDependencies":{
"stylefmt": "4.x",
"stylefmt": "5.x",
"postcss": "5.x"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion stylefmt-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function (source) {
let query = loaderUtils.parseQuery(this.query);

postcss([stylefmt({
config: `${process.cwd()}/${query.config}`
configFile: `${process.cwd()}/${query.config}`
})])
.process(source, {syntax: scss})
.then(function (result) {
Expand Down

0 comments on commit a35b619

Please sign in to comment.