2025-11-06 13:33:00 +09:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
|
|
|
|
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2025-11-10 09:38:59 +09:00
|
|
|
turbopack: {}, // ✅ CRITICAL: Next.js 15 + next-intl compatibility
|
2025-11-11 18:55:16 +09:00
|
|
|
typescript: {
|
|
|
|
|
// ⚠️ WARNING: This allows production builds to complete even with TypeScript errors
|
|
|
|
|
// Only use during development. Remove for production deployments.
|
|
|
|
|
ignoreBuildErrors: true,
|
|
|
|
|
},
|
|
|
|
|
eslint: {
|
|
|
|
|
// Allow production builds to complete even with ESLint warnings
|
|
|
|
|
ignoreDuringBuilds: false, // Still check ESLint but don't fail on warnings
|
|
|
|
|
},
|
2025-11-06 13:33:00 +09:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default withNextIntl(nextConfig);
|