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

PostCSS 8 not working #10691

Closed
OmerWow opened this issue Mar 16, 2021 · 5 comments
Closed

PostCSS 8 not working #10691

OmerWow opened this issue Mar 16, 2021 · 5 comments

Comments

@OmerWow
Copy link

OmerWow commented Mar 16, 2021

Basically, I don't know what to say other than that CRA is incompatible with PostCSS8.
Don't know why, all I know is that it is like that ever since PostCSS8 was released, and it's especially limiting for developers using TailwindCSS.

Because of that you also can't use Autoprefixer 10, have to use CRACO with special, old compatibility builds and can't use TailwindJIT.

I was really considering changing to Vite/Next/Gatsby but after learning about them for the last few days I honestly just prefer using the OG CRA, it just that the incompatibility with PostCSS8 is hurting me and probably many other developers.

It will be amazing if you can get it working!
Thank you very much :)

@mnlfischer
Copy link

#9664 is the correct thread.

@radiosilence
Copy link

@OmerWow it is non-ideal. However, TailwindCSS + JIT works

I have these installed:

{
    "autoprefixer": "9.8.6",
    "tailwindcss": "npm:@tailwindcss/postcss7-compat@2.1.2",
    "react-scripts": "^4.0.3",
}

@OmerWow
Copy link
Author

OmerWow commented Apr 30, 2021

@radiosilence I was talking about the new JIT compiler of Tailwind.
Anyway, I since migrated to Next.js to use it

@Bessonov
Copy link

Dupe of #9664 ?

@petetnt
Copy link
Contributor

petetnt commented May 11, 2021

Hi,

closing this as a duplicate of #9664, lets follow up on the issue there.

@petetnt petetnt closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants