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

Add support for postcss using postcss-preset-env #4747

Closed
szimek opened this issue Jul 6, 2018 · 2 comments
Closed

Add support for postcss using postcss-preset-env #4747

szimek opened this issue Jul 6, 2018 · 2 comments

Comments

@szimek
Copy link

szimek commented Jul 6, 2018

Is this a bug report?

No.

It would be really great if create-react-app had support for postcss plugins. Recently, it became much easier to do with postcss-preset-env, which is very similar in configuration to @babel/preset-env, i.e. one can specify which browsers should be supported (the package also supports browserslist) and which features (either whole stages or individual features or mix of those) - https://preset-env.cssdb.org/. It also already includes autoprefixer.

The popular postcss-cssnext package was deprecated in favor of postcss-preset-env.

@ianschmitz
Copy link
Contributor

There's a PR over at #4716

@szimek
Copy link
Author

szimek commented Jul 6, 2018

Awesome! I'll close this one then. I really hope this PR gets merged.

@szimek szimek closed this as completed Jul 6, 2018
@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants