TailwindCSS v3 upgrade gives very long compile times in NextJs Project with Docker #7093
Unanswered
timheerwagen
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, since i upgraded Tailwind to v3 from v2 in my nextjs project the compile times in dev mode have increased from about 500 to 800ms to 9 to 15 seconds and it is no longer fun to work with it. The whole thing runs in a Docker container with webpackdevmiddleware.
I followed the upgrade instructions on the tailwind website.
Versions:
Compile messages:
next.config.js
Edit
Without Docker it works without problems. Is anything incompatible between the new tailwind engine and docker? As described above I use webpackdevmiddleware to enable hotmodulereload. I also tried commenting the tailwindcss plugin out inside the postcss.config.js and i was back at normal compile times.
Beta Was this translation helpful? Give feedback.
All reactions