-
-
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
PostCSS 8 #9664
Comments
For anyone else who comes here and wonders what's up with this issue, I'll save you some clicks and summarize the state of the related PRs:
|
PR #10456 is now merged and should have resolved this issue. |
@harryzcy It will only be resolved when a new |
When the new react-scripts release is planned? |
I think it'd happen if these issues got resolved |
Perhaps we need to fork both of those packages or not depend on them. They look completely dead, especially postcss-browser-comments, which has not been updated in two years. |
I have forked both, thanks to the work of @devpeerapong Here is new package - https://www.npmjs.com/package/postcss-normalize-next so we could try using this new package until @jonathantneal resurfaces?? |
Ok, @jonathantneal has helpfully merged the PRs and we're just waiting on a version bump of postcss-normalize and my fork can be irrelevant already :) @lPaths does that satisfy everything? |
|
Its released! Can we re-open PR for postcss 8 please |
Thank you @jonathantneal for releasing 10.0.0! |
Looks like postcss 8 was added back into react-scripts a couple of months ago, in 7b56cf7. It's currently sitting in master, awaiting release I guess. Does anyone know when the next react-scripts release is? 🙂 |
#10946 is also needed for PostCSS 8 support. |
Webpack 5 PR is also there #10961, Can CRA team help with the release please? Its been so long since the last release. We're dying to use tailwind jit because its soo fast |
The pr with postcss normalize 10 should now be on master (postcss 8 should also be on master, not sure if anything is blocking a release) |
Pretty please, @ianschmitz @iansu , we know you're busy but can you please help with the release? Edit: I didn't know that it is planned in the next release, thanks! Sorry |
It's already on their roadmap for the next release (iansu/create-react-app-meta#56). Let's try not to rush and just let them release whenever they're ready. |
you could always |
Pretty please, What the status update here? |
@mrmckeb I assume soon should now be really really soon 😄 … Any update on the release? |
Should be released already in the alpha/next? |
Any update on a release timeline for this issue ? |
1 year and it's still not updated? This project looks abandoned. |
Hey guys, sorry for hijacking this topic. cra was great at the time webpack suffers widely from compatibility issues with plugins. You got a kinda management environment that just works. But after fighting a lot of issues like #7961, #1333, #9119, support es6+ with code sharing and many others and after usage of rewired, craco and so on I decided to setup custom config. It turns out, that this was much easier with webpack 5, because some plugins aren't needed anymore (like the whole resource loader stuff in previous versions). I'm pretty happy now. You can find important parts here and here. It uses the last postcss version. If you don't need code sharing like me, then take a look at snowpack. From my experience it's a game changer. |
It seems to be one of the advised alternatives to adopt now. I haven't checked but AFAIK both PostCSS 8 and Webpack 5 updates were merged and available in a alpha/beta release in the past month or so. Eventually that will get a proper release, but you may want other tooling like CRACO to also update to be compatible, and CRA is effectively in maintenance mode without much priority by Facebook now (no sponsored maintainers IIRC). There's this issue about maintenance issues and future of CRA. |
I see recent repo commits but still no updates on this particular issue. Is there any progress or ETA? |
This is part of the upcoming alpha release and you can use it now by following the instruction mentioned here #11278 |
Is your proposal related to a problem?
PostCSS 8 was released. It added a new plugin API. Right now Gatsby does not support PostCSS 8 plugins.
Describe the solution you'd like
Updating
postcss-loader
and addingpostcss
to dependencies will fix the problem.Describe alternatives you've considered
N/A
Additional context
PostCSS 8 changelog does not have breaking changes related to CRA 4 only removing Node.js 6 and 8 support).
The text was updated successfully, but these errors were encountered: