Skip to content

support Svelte class syntax for objects and arrays #59

@ryanatkn

Description

@ryanatkn

Fuz CSS does not fully support Svelte's object+array class syntax, added in 5.16. For now see the tests for the supported forms. Most cases should be workaroundable for now, either in code or through comments as an escape hatch. The current strategy uses a regexp for TS and Svelte files, but we'll probably need to more robustly scan the parsed AST. I'm going to do a pass on nearby code soon, might be a Vite plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions