Files
sam-react-prod/next.config.ts
byeongcheolryu 5b2f8adc87 fix: 로그인 중복 요청 방지 및 Strict Mode 활성화
- 로그인 진행 중 상태 관리 추가 (isLoggingIn)
- 중복 요청 차단 로직 구현
- 로그인 버튼 비활성화 및 로딩 표시
- next.config.ts reactStrictMode 활성화

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 18:57:35 +09:00

22 lines
800 B
TypeScript

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);