Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
output: "standalone",
// `standalone` exists for the Docker image, which copies `.next/standalone`
// and runs `node server.js`. Vercel builds its own output and does not want
// it, so opt out there via the `VERCEL` build env var.
output: process.env.VERCEL ? undefined : "standalone",
Comment on lines +4 to +7
reactStrictMode: true,
typedRoutes: true,
// Pin the workspace root so it can never be inferred outside this repo.
Expand Down