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