chore: [deploy] standalone 모드 빌드/배포 전환
- next.config.ts에 output: 'standalone' 추가 - deploy.sh를 standalone 기반으로 개편 (PM2 → node server.js) - 서버 빌드 제거, 로컬 빌드 후 rsync 배포 방식
This commit is contained in:
@@ -4,6 +4,7 @@ import createNextIntlPlugin from 'next-intl/plugin';
|
||||
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: 'standalone', // 로컬 빌드 → 서버 배포용 (node_modules 없이 실행 가능)
|
||||
reactStrictMode: false, // 🧪 TEST: Strict Mode 비활성화로 중복 요청 테스트
|
||||
turbopack: {}, // ✅ CRITICAL: Next.js 15 + next-intl compatibility
|
||||
serverExternalPackages: ['puppeteer'], // PDF 생성용 - Webpack 번들 제외
|
||||
|
||||
Reference in New Issue
Block a user