Skip to content

CSS variables cause build failure #757

@colah

Description

@colah

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions