Feature request: do not include the not-prose
styles when they're not used
#15964
kevinrenskers
started this conversation in
Ideas
Replies: 1 comment
-
Ah, found a solution!
This shaves 6 KB off of my CSS file, just like that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The CSS generated by the typography plugin is kind of big, and a large part of that is all the
:not(:where([class~="not-prose"],[class~="not-prose"] *))
stuff. I don't usenot-prose
at all in my project, so why is all this CSS included? Tailwind should be able to detect if I usenot-prose
or not I would think.Like, 13 out of 19 KB of my (minified) CSS file is purely because of the typography plugin. It's a lot.
Beta Was this translation helpful? Give feedback.
All reactions