Skip to content

Commit

Permalink
fix(package): config memory leak, updates postcss-load-config v1.2.…
Browse files Browse the repository at this point in the history
…0...2.0.0 (`dependencies`)
  • Loading branch information
michael-ciniawsky committed Jul 10, 2018
1 parent 22846d3 commit 0547b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module.exports = function loader (css, map, meta) {

rc.ctx.webpack = this;

return postcssrc(rc.ctx, rc.path, { argv: false })
return postcssrc(rc.ctx, rc.path)
}).then((config) => {
if (!config) config = {}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"loader-utils": "^1.1.0",
"postcss": "^6.0.0",
"postcss-load-config": "^1.2.0",
"postcss-load-config": "^2.0.0",
"schema-utils": "^0.4.0"
},
"devDependencies": {
Expand Down

0 comments on commit 0547b12

Please sign in to comment.