-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
Tailwind config analyzer package (initial version) #1884
Conversation
✅ Deploy Preview for biomejs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
CodSpeed Performance ReportMerging #1884 will not alter performanceFalling back to comparing Summary
|
packages/@biomejs/tailwindcss-config-analyzer/src/generate-tailwind-preset.ts
Outdated
Show resolved
Hide resolved
packages/@biomejs/tailwindcss-config-analyzer/src/generate-tailwind-preset.ts
Outdated
Show resolved
Hide resolved
Note for myself: need to figure out why the class order is different in the tests. |
@DaniGuardiola maybe for now we can add the package without updating the Rust file, so we can figure out later what's going on in a different PR, how does that sound? |
@ematipico ended up just fixing it, it was a minor issue |
Summary
A package to cover our needs for introspecting Tailwind CSS configs to generate presets (and, in the future, user-provided configs) for utility class sorting. For now, it codegens the utilities preset. You can try this by running
pnpm gen:tailwind-preset
frompackages/@biomejs/tailwindcss-config-analyzer
.Test Plan
For now, there's no need for automated tests. Manual inspection of the output looks correct.