-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support css.transformer: lightningcss
#1074
Comments
please provide a link to a repo that has your configuration and shows the warnings. if you use |
lishaduck/vps-lightning-repro@5085894 (for reference, here's the build output)
NOTE: As expected, |
These are just warnings, the style in the If you don't want lightningcss to be applied to the style block in .svelte files, you can change your svelte config to use note: this disables style preprocessing altogether which means you can only use css syntax in .svelte style blocks that don't make the svelte compiler throw an error for invalid css. svelte5 is more lenient here than svelte4 was and you can use css nesting for example. |
going to close this as you can have the requested mode today by disabling the style preprocessor. |
Describe the problem
I use
lightningcss
as my Vite css.transformer. I needed a reach for aglobal
block today, but it emitted a bunch of warnings.Describe the proposed solution
vite-plugin-svelte
would hook in before lightningcss, not afterward.Alternatives considered
Perhaps blocked on vitejs/vite#19112?
Importance
nice to have
The text was updated successfully, but these errors were encountered: