Skip to content

Fix layer rule deduping#1656

Merged
ludofischer merged 2 commits intocssnano:masterfrom
snowystinger:fix-layer-deduping
Aug 9, 2024
Merged

Fix layer rule deduping#1656
ludofischer merged 2 commits intocssnano:masterfrom
snowystinger:fix-layer-deduping

Conversation

@snowystinger
Copy link
Copy Markdown
Contributor

@snowystinger snowystinger commented Aug 9, 2024

Closes #1655

I'm reasonably sure the @layer cannot be deduplicated as it may affect order. Let me know if I've misunderstood.

Copy link
Copy Markdown
Collaborator

@ludofischer ludofischer 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! This looks like it matches the desired behaviour that @devongovett demonstrates. Maybe other things are broken in the way @layer is handled, but it looks like this PR resolves the specific issue.

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.

[Bug]: @layer rules without a block overwrite previously declared rules

2 participants