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": {