-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
CSS variables cause build failure #757
Comments
Here's how css-tree parses that. The value of the custom property declaration has |
Skipping or (My actual use case involves setting a variable to length values, and I think the other common use case is a color value. Seems like there probably isn't a huge amount to win in trying to minify it.) |
Fixed in 1.34 — thanks for the report, sorry for the delay! |
Setting a CSS variable in a
<style>
section of a svelte template triggers a build error:I don't have any experience using CSS variables, but it seems like this should work.
The text was updated successfully, but these errors were encountered: