yeskunall / www

🏞 My personal site built with Astro, Radix Colors, Tailwind, and deployed to Vercel
https://kimchiii.space
MIT License
2 stars 0 forks source link

Explore Lightning CSS as an alternative to ESBuild (&/+ PostCSS) #196

Open yeskunall opened 4 months ago

yeskunall commented 4 months ago

Vite v4.4 added support for Lightning CSS. Looks like Astro has already exposed some functionality, but there is no mention of it in their docs.

Opening this right now because I’m really interested in taking Lightning CSS for a test drive but haven’t had an excuse to so far.

yeskunall commented 1 month ago

CSS Pre-processors aren't supported when using Lightning CSS, so how do I port over the postcss.config.cjs to use Lightning CSS?


Ref

yeskunall commented 1 month ago

I did a test production build using LightningCSS, and it doesn’t look like it touches Tailwind in any way.

Unpinning till Tailwind support is added. Either that, or Oxide drops.