/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', reactStrictMode: true, // TODO: Remove after fixing type incompatibilities from restore typescript: { ignoreBuildErrors: true, }, // 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 || 'http://localhost:8000', NEXT_PUBLIC_OLD_ADMIN_URL: process.env.NEXT_PUBLIC_OLD_ADMIN_URL || 'http://localhost:3000/admin', }, } module.exports = nextConfig