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

Feat parse more selectors #3729

Merged
merged 19 commits into from Feb 25, 2022
Merged

Feat parse more selectors #3729

merged 19 commits into from Feb 25, 2022

Conversation

alexander-akait
Copy link
Collaborator

@alexander-akait alexander-akait commented Feb 24, 2022

Description:

feat - parse :is/:where/:matches/:has (old legacy versions) + selectors for WebRTC + selectors for custom elements + lang/dir.

These are almost all selectors known and in spec pseudo's at the moment.

If we can parse them - we can handle them and minify.

Also:

  • fix codegen for combinators (we lose spaces in normal output)
  • improve minify
  • many tests

BREAKING CHANGE:

Yes

Related issue (if exists):

No

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!


swc-bump:

  • swc_css_ast --breaking

@kdy1 kdy1 enabled auto-merge (squash) February 25, 2022 01:40
@kdy1 kdy1 added this to the v1.2.146 milestone Feb 25, 2022
@kdy1 kdy1 merged commit f5c5e77 into swc-project:main Feb 25, 2022
@alexander-akait alexander-akait deleted the feat-parse-more-selectors branch February 25, 2022 10:10
@swc-project swc-project locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants