Skip to content

Commit 0547b12

Browse files
committedJul 10, 2018
fix(package): config memory leak, updates postcss-load-config v1.2.0...2.0.0 (dependencies)
1 parent 22846d3 commit 0547b12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = function loader (css, map, meta) {
9292

9393
rc.ctx.webpack = this;
9494

95-
return postcssrc(rc.ctx, rc.path, { argv: false })
95+
return postcssrc(rc.ctx, rc.path)
9696
}).then((config) => {
9797
if (!config) config = {}
9898

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"loader-utils": "^1.1.0",
1414
"postcss": "^6.0.0",
15-
"postcss-load-config": "^1.2.0",
15+
"postcss-load-config": "^2.0.0",
1616
"schema-utils": "^0.4.0"
1717
},
1818
"devDependencies": {

0 commit comments

Comments
 (0)
Please sign in to comment.