Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

How to enable with CRA and CRACO (PostCSS 7)? #17

Closed
OmerWow opened this issue Mar 15, 2021 · 1 comment
Closed

How to enable with CRA and CRACO (PostCSS 7)? #17

OmerWow opened this issue Mar 15, 2021 · 1 comment

Comments

@OmerWow
Copy link

OmerWow commented Mar 15, 2021

Hi,

So because CRA doesn't support PostCSS8, you recommend (it's probably mandatory and not a recommendation) to install CRACO and use it to configure Tailwind.
Unfortunately I get an error message after trying to use the JIT compiler (changing the CRACO config to the jit module) that the jit only supports PostCSS8.

Can I really not use it because I'm using CRA?

@adamwathan
Copy link
Member

Currently the JIT project only supports PostCSS 8, correct. We may do a compat build like we do for Tailwind but not a priority right now.

I would recommend using Vite instead of CRA if you want something similar in the mean time personally — it is much faster and works beautifully with React out of the box.

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