Skip to content

Add temporary rules for @content and @import at rules to JS AST #2492

Open
@sanderlenaerts

Description

Hey there,

It seems the sass-parser currently crashes upon reaching an @content or @import statement.
This currently throws visitor.visitContentRule$1 is not a function as visitContentRule and vistiImportFile are not part of

visitAtRule: inner => new GenericAtRule(undefined, inner),

Until full-fletched support is added for these at rules, can we add them and let them use the GenericAtRule?

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