After updating from NextJS 12 to NextJS 14, my initial build times when using the dev server have risen exponentially from seconds to minutes. On average, rendering the very first page will take 10-15 minutes when yarn dev is first run, and will then compile as expected afterwards.
The CLI takes 10-15 minutes to render the first page before displaying a compile time of <10s, which tells me that the slowdown is occurring as part of some initial pre-processing step that isn't immediately apparent.
I'm not sure how to even begin debugging this, but is there a process to figuring out why this initial build takes so long?
