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(core): add noMerge to variant context #1525

Merged
merged 2 commits into from Sep 2, 2022
Merged

feat(core): add noMerge to variant context #1525

merged 2 commits into from Sep 2, 2022

Conversation

chu121su12
Copy link
Collaborator

PR to support #1466

Currently, one variant match are grouped under single PreparedRule so its output will be merged. The existing noMerge that can break this type is only available in rule, and now added to variant as well. This is to help variants that produce pseudo rules that needs to be separated due to vendor prefixes (at least without some post processing).

@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for unocss failed.

Name Link
🔨 Latest commit 423db7e
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/63115d4b2ca9cb00087fdda0

@chu121su12 chu121su12 marked this pull request as ready for review September 2, 2022 01:21
@chu121su12 chu121su12 marked this pull request as draft September 2, 2022 01:27
@chu121su12 chu121su12 marked this pull request as ready for review September 2, 2022 01:35
@antfu antfu merged commit 6a47032 into main Sep 2, 2022
@antfu antfu deleted the variant-no-merge branch September 2, 2022 04:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants