Skip to content

Compound interpolated expressions throw "Invalid prelude for @media csstree/validator" #52

@pinkhominid

Description

@pinkhominid

With version 2.1.0, using the postcss-lit custom syntax, compound interpolated expressions like this error

    @media (min-width: 500px) and ${namedMedia.css.mobile} {
        /* ... */
    }

whereas this doesn't

    @media ${namedMedia.css.mobile} {
        /* ... */
    }

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