Skip to content

Commit c714522

Browse files
committed
chore: use standalone only local build
1 parent 828290f commit c714522

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const nextConfig: NextConfig = {
77
isrFlushToDisk: false,
88
useTypeScriptCli: true,
99
},
10-
output: "standalone",
10+
// Vercel builds its own output and fails on standalone. Everywhere else
11+
// (the Docker image, the Playwright webServer on CI) needs it.
12+
output: process.env.VERCEL ? undefined : "standalone",
1113
reactCompiler: true,
1214
typedRoutes: true,
1315
}

0 commit comments

Comments
 (0)