-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Parse native CSS nesting in plain CSS #3524
Comments
See #3524 Co-authored-by: Jennifer Thakar <jathak@google.com>
Proposal is out, since this is a low-risk subset of plain CSS nesting support I'll give this two weeks for public comment. |
I appreciate the efforts to bring native nesting to Sass. Please clarify, do I understand correctly that this means that all features of Sass are available in |
No, no Sass features are available in |
Pity, so it’s either Sass or native nesting. But thanks for clarifying. |
@nex3 I am a little confused as to how this will work. Sorry the documentation is a bit hard to understand. I just tested using @use with a plain .css file, but nesting does not work as it gives an error. Is there no way to currently import an plain .css file and leave it exactly as the way it is and ignore all errors? Is there any error suppression setting, etc? Or are you saying that we will have to wait for that? I guess I can just run some sort of npm package/command after sass parse to add my plain css to the final bundle, etc. |
This issue is still open and the checkbox for "Dart Sass" isn't checked, which indicates that this has not yet been implemented. |
Closes #3524 Co-authored-by: Carlos (Goodwine) <2022649+Goodwine@users.noreply.github.com>
Although we're preserving Sass's current nesting behavior for now (per #3030), we can support native CSS nesting when parsing plain CSS. We shouldn't do any resolution here, just pass it through as-is.
The text was updated successfully, but these errors were encountered: