Files
game-scoreboard/next.config.ts
T
joshuaandClaude Opus 5.5 c89a82295b Phase 0: scaffold Next.js, Tailwind tokens, Supabase clients, env validation
Next.js 16 App Router with strict TypeScript, Tailwind 4 theme tokens from
docs/UI.md, Vitest, and the three Supabase clients. Env vars are validated
with zod in next.config.ts so dev and build fail fast with a readable error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:27:11 +02:00

12 lines
359 B
TypeScript

import type { NextConfig } from "next";
import { parseEnv, serverEnvSchema } from "./src/lib/env";
// Fail fast: `next dev` and `next build` refuse to start with a broken .env.local,
// instead of failing later on the first request that needs Supabase.
parseEnv(serverEnvSchema, process.env);
const nextConfig: NextConfig = {};
export default nextConfig;