Skip to content

Optimize whitespace-only class name detection#429

Merged
thecrypticace merged 1 commit intotailwindlabs:mainfrom
Dunqing:Optimize-whitespace-only-class-detection
Dec 24, 2025
Merged

Optimize whitespace-only class name detection#429
thecrypticace merged 1 commit intotailwindlabs:mainfrom
Dunqing:Optimize-whitespace-only-class-detection

Conversation

@Dunqing
Copy link
Copy Markdown
Contributor

@Dunqing Dunqing commented Dec 24, 2025

Flip the pure whitespace check conditions to avoid unnecessary, relatively expensive regexp check.

@thecrypticace thecrypticace merged commit f4ca38a into tailwindlabs:main Dec 24, 2025
1 check passed
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