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

Optimize AST before printing for IntelliSense #15347

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Dec 9, 2024

We changed how AST printing worked recently but forgot to update this. Which causes us to print properties with a value of undefined in Tailwind Play, Tailwind CSS IntelliSense, and our Language Server (oops):

Screenshot 2024-12-09 at 12 29 13

This PR fixes this by optimizing the AST before printing (which is what toCss did previously)

@thecrypticace thecrypticace requested a review from a team as a code owner December 9, 2024 17:32
@thecrypticace thecrypticace force-pushed the fix/v4-intellisense-css-printing branch from 489b836 to e60cbd4 Compare December 9, 2024 17:35
@thecrypticace thecrypticace merged commit ea9d700 into next Dec 9, 2024
1 check passed
@thecrypticace thecrypticace deleted the fix/v4-intellisense-css-printing branch December 9, 2024 17:44
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.

2 participants