feat(WEB): Vercel 배포 대응 및 타입 안정성 개선
- puppeteer → puppeteer-core + @sparticuz/chromium 전환 (Vercel 서버리스 호환) - PDF 생성 API 로컬/Vercel 환경 분기 처리 - next.config.ts: ignoreBuildErrors false로 전환 - WorkOrder items에 orderNodeId/orderNodeName 필드 추가 - 결재선 데이터에 name/dept 필드 추가 - OrderSalesDetailView 타입 캐스팅 안전하게 수정 - vercel.json 설정 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,15 @@ API_KEY=your-secret-api-key-here
|
||||
# 주의: 운영 환경에서는 반드시 false로 설정!
|
||||
NEXT_PUBLIC_DEV_TOOLBAR_ENABLED=false
|
||||
|
||||
# ==============================================
|
||||
# Puppeteer (로컬 PDF 생성용)
|
||||
# ==============================================
|
||||
# puppeteer-core는 Chromium을 번들하지 않으므로 로컬 Chrome 경로 필요
|
||||
# macOS: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
|
||||
# Linux: /usr/bin/google-chrome-stable
|
||||
# Vercel에서는 @sparticuz/chromium이 자동 처리하므로 설정 불필요
|
||||
PUPPETEER_EXECUTABLE_PATH=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
|
||||
|
||||
# ==============================================
|
||||
# Development Notes
|
||||
# ==============================================
|
||||
|
||||
Reference in New Issue
Block a user