diff --git a/lib/style-rewriter.js b/lib/style-rewriter.js index b64566402..ece7e0bec 100644 --- a/lib/style-rewriter.js +++ b/lib/style-rewriter.js @@ -59,7 +59,7 @@ module.exports = function (css, map) { } // use the same config loading interface as postcss-loader - loadPostcssConfig({ webpack: this }).catch(() => { + loadPostcssConfig({ webpack: this }, null, { argv: false }).catch(() => { // postcss-load-config throws error when no config file is found, // but for us it's optional. }).then(config => {