-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
[Proposal] : Ability to load PostCSS config file from project root directory if exists #6649
Comments
@pavinthan This seems like a pretty good idea. for using PostCSS plugins, I'm also facing those issues. |
@pavinthan, It's a good way dude. I hope it'll be more useful. |
Adding a config file for PostCSS or any other tool (Babel, webpack, etc.) is not in line with this project's goals. We do allow PostCSS to be adjusted via the |
@iansu if we need to add any PostCSS plugins do we need to eject react-script? |
Yes, that would be the case. That's also the case for Babel and webpack. The reason being we want to keep things simple for users and we only have the resources to support our primary config. If you start adding plugins there are suddenly a huge number of possible configurations and we don't have the bandwidth to support that. We will be adding support for custom templates (as well as the existing support for custom scripts) so someone could always create a PostCSS template to use with Create React App in the future. |
Ability to load PostCSS config file from project root directory if exists
I believe create react app help to build awesome web pages and applications by the way developer face a lot of issues with styling their pages or applications now days more of PostCSS plugins reduce that workflows
eg:
if create react app load PostCSS config file from project root directory if exists that will allow developers to configure their own configurations to build their awesome web pages and applications.
This is most useful for who like to run
yarn eject
but fingers is not allow it.The text was updated successfully, but these errors were encountered: