Configure Next.js standalone output for deployment
This commit is contained in:
@@ -14,7 +14,7 @@ const nextConfig: NextConfig = {
|
|||||||
turbopack: {
|
turbopack: {
|
||||||
root: path.resolve(__dirname),
|
root: path.resolve(__dirname),
|
||||||
},
|
},
|
||||||
// output: "export" removed to allow server actions
|
output: "standalone",
|
||||||
// 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user