-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
What version of Tailwind CSS are you using?
For example: >= 4.0.10
What build tool (or framework if it abstracts the build tool) are you using?
Nuxt 3.16.0 with Vite 6.2.1
What version of Node.js are you using?
For example: v22.14.0
PNPM 10.6.1
What browser are you using?
n/a
What operating system are you using?
Vercel
Reproduction URL
A brand new Nuxt project setup as specified in docs. The issue is builds locally are absolutely fine. It's building within Vercel for these versions which has increased from ~1minute to 30mins+
There is a step in the Nuxt build script which says 'transforming' where I believe esbuild is transforming modules.
This happens twice in the build process, once for client, once for server. Each one takes around 15 minutes.
Any ideas?
I understand you'll ask for a reproduction, I totally get this and would usually try, but it'll build fine in regular environments, I'm happy to create a dummy repo if you have ability to deploy in Vercel or have ideas on what can cause this otherwise? Minimal reproduction is a basic Nuxt all with tailwind installed as docs show. Nothing else.
Describe your issue
I've had to use Tailwind v4.0.9 which is the latest version where the build is still nice and fast. What were the changes to 4.0.10 which may have caused such a slowdown in some environments?