Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sanderlenaerts opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@sanderlenaerts
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant