I'm trying to configure LightningCSS in my existing Vue/Vite/Tailwind project, but I'm finding it difficult to find any sort of documentation that describes in detail how to use these 4 together. I've enabled lightningcss as the css processor and minifier, but doing so produces an error/warning during build: Unknown at rule: @tailwind, which leads me to believe Tailwind is being completely ignored now during build.
Has anyone successfully incorporated LightningCSS and TailwindCSS together in a Vue/Vite project and can point me in the right direction?
@gych I’ll double check that… it appears as well that several of my dependencies also use the @tailwind directive, so if that fixes it I guess I can just patch those files every ‘npm install’ and ‘npm update’…
I’m also wondering… what happens to arbitrary classes in Tailwind (I.e. w-[85vw], bg-[487F23], etc) when using LightningCSS? Is it able to parse those classes properly?