From 0547b124dc68d1f762b402e96549648a0099d486 Mon Sep 17 00:00:00 2001 From: Michael Ciniawsky Date: Tue, 10 Jul 2018 16:34:50 +0200 Subject: [PATCH] fix(package): config memory leak, updates `postcss-load-config` v1.2.0...2.0.0 (`dependencies`) --- lib/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 6db1dca1..623ff184 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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 = {} diff --git a/package.json b/package.json index c1f21d4d..e0370807 100644 --- a/package.json +++ b/package.json @@ -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": {