Dani Guardiola
Dani Guardiola
@ematipico I will do a bit of research and get back to you.
Leaving these as notes for the future. This is where it all ultimately happens: https://github.com/tailwindlabs/tailwindcss/blob/master/src/lib/setupContextUtils.js#L930-L969 This function defers to this other function: https://github.com/tailwindlabs/tailwindcss/blob/master/src/lib/generateRules.js#L885-L930 The way sorting works is by leveraging...
To expand on the pros/cons of my proposed approach: Pros - Simpler. Like tens of thousands of LOC simpler. - Covers 99.8% of cases. Yes, I made this number up,...
Thanks for the update. I'm gonna give it a go then :)
@Reed-Anderson thanks for bringing this up. While I share your pain, and think some tooling could definitely help, I think that's out of scope for this task. I did see...
@itsezc good call-out. While I'm not going for perfection, I do wanna consider all of these cases, and I have some ideas to solve this that I'll share soon here...
Here's my current thinking. Read my earlier messages on this thread for context. ## Tailwind CSS class sorting -> class sorting While the main goal of this task is to...
@tcoopman the latter. In any case, the plan is to provide an automated way to update the config, and I'd expect that to be the most popular way to use...
@XiNiHa it's possible, but it's a bit out of scope for now. Maybe in a future iteration. @johnpyp thanks for the suggestion. I'm already very familiar with how Tailwind CSS...
This rule is a work in progress and there's still a lot of work to do before we can consider it stable. I like your linked suggestion about opting into...