Compilation time from 120 seconds to 1 second. #78994
Unanswered
monteiz
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I finally figured out what was causing the long compilation times in our project.
It is TailwindCSS.
By default, it recursively processes all non-binary files in the project. There is no config for it.
The only way to prevent it from processing specific folders is to add their paths to the
.gitignore
file.Hope this helps.
Beta Was this translation helpful? Give feedback.
All reactions