Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to use .postcssrc.json as PostCSS config file #2115

Merged
merged 1 commit into from
Oct 6, 2018

Conversation

nckcol
Copy link
Contributor

@nckcol nckcol commented Oct 6, 2018

↪️ Pull Request

I find defining PostCSS config in .postcssrc.json more consistent with another config files like .eslintrc.json and .babelrc.json. I prefer this way of naming because of transparency and conformity between the filename and content type.

Also, postcss-load-config package, which is widely using with PostCSS, supports this way of defining configs and enforces this naming as recommended.

I think adding .postcssrc.json to resolvable configs makes parcel more smooth to switch from another bundler without much effort 🙂

I didn't find any tests for PostCSS config files, so I'm not sure if I should add ones for this feature 😕

@devongovett devongovett merged commit db91bd4 into parcel-bundler:master Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants