Skip to content

Conversation

@philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Feb 14, 2025

Closes tailwindlabs/tailwindcss-typography#383

This PR fixes an issue that happened when JavaScript plugins create a nested rule that references to the utility name. The previous behavior looked like this:

image

I was able to come up with an approach that can be fixed entirely in the compat layer by leveraging the raw field on the candidate.

Test plan

@philipp-spiess philipp-spiess requested a review from a team as a code owner February 14, 2025 12:23
@philipp-spiess philipp-spiess force-pushed the fix/plugin-with-nested-references-to-utility-name branch from 6d40a44 to c80239f Compare February 14, 2025 12:24
@philipp-spiess philipp-spiess merged commit 7d51e38 into main Feb 14, 2025
5 checks passed
@philipp-spiess philipp-spiess deleted the fix/plugin-with-nested-references-to-utility-name branch February 14, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants