From f928526ee58c3824390a7289302434fb45f1cfde Mon Sep 17 00:00:00 2001 From: Jimmy Lai Date: Tue, 24 Dec 2024 17:10:29 +0100 Subject: [PATCH] try no retries in prod --- packages/next/src/server/load-components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/server/load-components.ts b/packages/next/src/server/load-components.ts index 499f6afcaf9d7..deaf7d2ad0c71 100644 --- a/packages/next/src/server/load-components.ts +++ b/packages/next/src/server/load-components.ts @@ -176,7 +176,7 @@ async function loadComponentsImpl({ // that can occur while app and pages are compiling at the same time, and the // build-manifest is still being written to disk while an app path is // attempting to load. - const manifestLoadAttempts = isDev ? 3 : 1 + const manifestLoadAttempts = isDev ? 3 : 0 let reactLoadableManifestPath if (!process.env.TURBOPACK) {