Pretty self explanatory. Netlify won't build react app. Previous versions build fine. npm start works fine locally
I get similar results in Vscode running npm run build
Turns out it had something to do with a key I put in tailwind.config.js
as suggested by the tailwind docs:
I just had to remove the important: true,
key and use the !
modifier inline
e.g.
className="!bg-green-500"
Not sure why it wouldn't build with it. I updated postcss and tailwind just to make sure, but only removing it worked. Could someone who understands explain this.