Replies: 5 comments 1 reply
-
Would you be able to provide a reproducible example please (such as a remotely-hosted git repository)? |
Beta Was this translation helpful? Give feedback.
-
I had that problem too, I think it is a problem with Vite build. |
Beta Was this translation helpful? Give feedback.
-
Thank you @Botato300, it seems to be the same issue. It makes the v4 not really usable in production for the moment. I would be happy to help, but not sure where to start. |
Beta Was this translation helpful? Give feedback.
-
It seems like upstream bugfixing is already undergoing but in the meantime it should be possible to either disable CSS minification or use |
Beta Was this translation helpful? Give feedback.
-
They are already working on a solution: evanw/esbuild@8f8962f |
Beta Was this translation helpful? Give feedback.
-
What version of Tailwind CSS are you using?
Tailwind v4.0.3
What build tool (or framework if it abstracts the build tool) are you using?
Nuxtjs app with vite
What version of Node.js are you using?
Node v22.12.0
What browser are you using?
The problem occurs on all the major browser: Chrome, Safari, Firefox
What operating system are you using?
macOS
Describe your issue
Hi thanks for your work on the new major version,
On production build with minification of the code some classes are not working. For instance:
space-y-*, space-x-*, *:[grid-area:1/1]
On localhost during development there are no such problems.
Beta Was this translation helpful? Give feedback.
All reactions