- Pretendard Variable 폰트 추가 및 전역 적용 - HR 모듈 모바일 필터 적용: - AttendanceManagement: MobileFilter 컴포넌트 적용 - EmployeeManagement: MobileFilter 컴포넌트 적용 - SalaryManagement: MobileFilter 컴포넌트 적용 - VacationManagement: MobileFilter 컴포넌트 적용 - 회계 모듈: - VendorManagement: MobileFilter 컴포넌트 적용 - 전자결재: - ReferenceBox: 모바일 UI 개선 - AuthenticatedLayout: 레이아웃 개선 - middleware: 설정 업데이트 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from 'next-intl/plugin';
|
|
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: false, // 🧪 TEST: Strict Mode 비활성화로 중복 요청 테스트
|
|
turbopack: {}, // ✅ CRITICAL: Next.js 15 + next-intl compatibility
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'placehold.co',
|
|
},
|
|
],
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
bodySizeLimit: '10mb', // 이미지 업로드를 위한 제한 증가
|
|
},
|
|
},
|
|
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,
|
|
},
|
|
// Capacitor 패키지는 모바일 앱 전용 - 웹 빌드에서 제외
|
|
webpack: (config, { isServer }) => {
|
|
if (!isServer) {
|
|
config.resolve.fallback = {
|
|
...config.resolve.fallback,
|
|
'@capacitor/core': false,
|
|
'@capacitor/push-notifications': false,
|
|
'@capacitor/app': false,
|
|
};
|
|
}
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|