Replies: 1 comment 12 replies
-
Disabling PostCSS fixes the issue too. I'm wondering if too many files are being scanned. But I can't see any evidence that the The initial compile above only took 1.7 seconds though, so I'm not sure this is actually the issue. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
I've upgraded to Tailwind v4 alpha and defined a custom theme for it. However I'm running into some severe performance problems with the NextJS dev server.
Removing the CSS import fixes the issue.
Here the route compiled relatively quickly in 1.7 seconds but it took 48 seconds before a response was returned.
Could anyone give me some pointers to go about debugging this and finding out what's causing this slowness? I'm not really sure where to begin with it, I've tried different configurations like moving the import into a client component, with/without a tailwind.config.js, removing my custom theme, nothing seems to make much difference.
Thanks!
Kieran
Beta Was this translation helpful? Give feedback.
All reactions