Skip to content

Conversation

@thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Jan 14, 2022

We were previously always emitting a variants layer even if you didn't include @tailwind utilities or @tailwind variants this means we would previously emit variants even in a file that included only @tailwind base;. This has been fixed.

Also, previously we would generate variants like sm:container even when you didn't have @tailwind components in your file. We now only emit variants for utilities/components when you have @tailwind utilities/@tailwind components included.

@thecrypticace thecrypticace force-pushed the fix/variant-optimizations branch 2 times, most recently from c39f9ab to e677f2a Compare January 14, 2022 15:14
@thecrypticace thecrypticace force-pushed the fix/variant-optimizations branch from e677f2a to 26f3237 Compare January 14, 2022 15:18
@thecrypticace thecrypticace merged commit e292888 into master Jan 14, 2022
@thecrypticace thecrypticace deleted the fix/variant-optimizations branch January 14, 2022 15:20
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