Replies: 1 comment
-
@djmtype Hey! This is an issue in our Vite plugin right now unfortunately, we have it tracked here: #14558. We'll look into it, sorry for the troubles! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Astro allows you to import a css file as
raw
data. https://docs.astro.build/en/guides/styling/#raw-css-importsFor whatever reason, my project fails to build when I use the Tailwind v4 Vite integration along side LightningCSS. If I remove Tailwind v4, I have no issues at all and can use LightningCSS while importing my css as raw data.
I can also use Tailwind v4 and import raw css data into an Astro page using PostCSS instead of LightningCSS.
So, I'm unsure where the problem lays.
The error:
Astro config:
Beta Was this translation helpful? Give feedback.
All reactions