/** @type {import('next').NextConfig} */ import path from 'path'; import { fileURLToPath } from 'url'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const nextConfig = { reactStrictMode: true, // Fix for monorepos: point tracing to repo root (portable across machines/containers) outputFileTracingRoot: path.join(__dirname, '../..'), images: { remotePatterns: [ { protocol: 'https', hostname: 'placehold.co', }, { protocol: 'https', hostname: 'picsum.photos', }, ], }, typescript: { ignoreBuildErrors: false, }, eslint: { ignoreDuringBuilds: true, }, webpack: (config) => { config.module.rules.push({ test: /\.(mp4|webm)$/, type: 'asset/resource', }); return config; }, }; export default nextConfig;