Setting a CSS variable in a <style> section of a svelte template triggers a build error:
<style>
.foo { --test: 10; }
</style>
Module build failed: Error: TypeError: Cannot read property '0' of undefined
I don't have any experience using CSS variables, but it seems like this should work.
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.