Replies: 1 comment
-
Do you maybe have some sort of circular dependency, or JSON's being loaded? top level code that's being executed? For circular dependencies you can try Have you build a bundle analysis output, through |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Summary
I'm working on a Next application and I'm having the following compilation problem:
Problem:
all application routes in the dev environment take a long time to compile, some take 15 seconds to navigate, giving a stuck experience, see an example in the image below. This problem is on all routes, and only in dev environment.Detail: backend routes respond 4 times faster than the next server side route itself
Clarification:
All these pages are well optimized, no package is heavy, the problem seems to be in the compilation itself.Packjson:
My next.config.mjs:
I have already tried to use the turbopack but without success.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions