Files
sam-react-prod/next.config.ts

22 lines
800 B
TypeScript
Raw Normal View History

import type { NextConfig } from "next";
import createNextIntlPlugin from 'next-intl/plugin';
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
const nextConfig: NextConfig = {
reactStrictMode: true, // 🧪 TEST: Strict Mode 비활성화로 중복 요청 테스트
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);