/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', reactStrictMode: true, // Type errors fail the build — the compiler is the safety net. The 266 // pre-existing errors masked by this flag were resolved on 2026-06-11; // do not re-enable ignoreBuildErrors (it hides real bugs, e.g. constraint // logic reading non-existent fields). typescript: { ignoreBuildErrors: false, }, // Allow images from backend images: { remotePatterns: [ { protocol: 'http', hostname: 'localhost', }, { protocol: 'http', hostname: 'macmini', }, { protocol: 'https', hostname: 'macmini', }, ], }, // Environment variables env: { NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://macmini:8002', NEXT_PUBLIC_SDK_URL: process.env.NEXT_PUBLIC_SDK_URL || 'https://macmini:8093', }, } module.exports = nextConfig