From fef37e153fe666f20a599e70685140b80c7c1c76 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 6 Oct 2018 15:24:49 +0300 Subject: [PATCH] resolving `.postcssrc.json` as a PostCSS config --- src/transforms/postcss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transforms/postcss.js b/src/transforms/postcss.js index 9fefc708b6e..0b892bee691 100644 --- a/src/transforms/postcss.js +++ b/src/transforms/postcss.js @@ -18,7 +18,7 @@ module.exports = async function(asset) { async function getConfig(asset) { let config = await asset.getConfig( - ['.postcssrc', '.postcssrc.js', 'postcss.config.js'], + ['.postcssrc', '.postcssrc.json', '.postcssrc.js', 'postcss.config.js'], {packageKey: 'postcss'} );