Revert to static export output for nginx deploy pipeline

output: "standalone" (a8f4b23) produces a Node server bundle with no
server.js at the path the deploy Dockerfile expects. The deploy repo's
Dockerfile now runs nginx serving static files (d808317), which requires
a static export (out/), not a standalone server bundle.
This commit is contained in:
2026-07-13 20:09:35 +05:30
parent a8f4b23977
commit 0ec150d703

View File

@@ -14,7 +14,7 @@ const nextConfig: NextConfig = {
turbopack: { turbopack: {
root: path.resolve(__dirname), root: path.resolve(__dirname),
}, },
output: "standalone", output: "export",
// Required by the How It Works 3D experience. React StrictMode double-invokes // Required by the How It Works 3D experience. React StrictMode double-invokes
// mount/effects in dev, which tears down and re-creates the WebGL context of // mount/effects in dev, which tears down and re-creates the WebGL context of
// the heavy 32MB scene mid-initialization — the context is lost ("THREE. // the heavy 32MB scene mid-initialization — the context is lost ("THREE.