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
refactor(css/parser): dashed ident #6198
Conversation
@@ -1140,7 +1140,7 @@ where | |||
})) => false, | |||
_ => !self.config.minify, | |||
}, | |||
ComponentValue::Ident(_) => match next { | |||
ComponentValue::Ident(_) | ComponentValue::DashedIdent(_) => match next { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_atoms
- swc_css_ast --breaking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
Description:
Ref: https://www.w3.org/TR/css-values-4/#typedef-dashed-ident
Also don't store
--
because it should be the first two characters + small perf improvementBREAKING CHANGE:
Yes
Related issue (if exists):
No