You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just realized that an empty project, with no classes used at all, builds up a 21,9 kB css file. I see for example .lowercase, .uppercase, .shadow, .filter, .transition as well as tons of css variables and @Property's.
I was kinda expecting that Tailwind will not add classes that are not used. Also I would kindof expect the 364 css variables to be not included if they are not used.
What version of Tailwind CSS are you using?
4.0.1
What build tool (or framework if it abstracts the build tool) are you using?
vite 6.0.5
What version of Node.js are you using?
Bun 1.2.1
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-qn84o4zm?file=src%2FApp.vue
Describe your issue
I just realized that an empty project, with no classes used at all, builds up a 21,9 kB css file. I see for example
.lowercase
,.uppercase
,.shadow
,.filter
,.transition
as well as tons of css variables and @Property's.I was kinda expecting that Tailwind will not add classes that are not used. Also I would kindof expect the 364 css variables to be not included if they are not used.
Built css file (post-formatted):
https://pastebin.com/WNZ1C5f5
The text was updated successfully, but these errors were encountered: