Prevent timeout when loading routes in development (#25749)
* Prevent timeout when loading routes in development The new route loader (https://github.com/vercel/next.js/pull/19006) will timeout loading routes after 3.8s (MS_MAX_IDLE_DELAY), but this can easily happen when running dev on a large app. Fixes https://github.com/vercel/next.js/issues/25675 * Delay route loading timeout in development * refactor: Integrate onBuildCallback into resolvePromiseWithTimeout * refactor: Tweak for better dead-code elimination Co-authored-by:JJ Kasper <jj@jjsweb.site>
Showing
Please
register
or
sign in
to comment