Skip to content

Commit

Permalink
resolving .postcssrc.json as a PostCSS config (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
nckcol authored and devongovett committed Oct 6, 2018
1 parent b566d28 commit 88ebafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/parcel-bundler/src/transforms/postcss.js
Expand Up @@ -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'}
);

Expand Down

0 comments on commit 88ebafc

Please sign in to comment.