import type { NextConfig } from "next"; import createNextIntlPlugin from 'next-intl/plugin'; const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts'); const nextConfig: NextConfig = { turbopack: {}, // ✅ CRITICAL: Next.js 15 + next-intl compatibility typescript: { // ⚠️ WARNING: This allows production builds to complete even with TypeScript errors // Only use during development. Remove for production deployments. ignoreBuildErrors: true, }, eslint: { // ⚠️ WARNING: Temporarily ignore ESLint during builds for migration // TODO: Fix ESLint errors after migration is complete ignoreDuringBuilds: true, }, }; export default withNextIntl(nextConfig);