18 lines
423 B
TypeScript
18 lines
423 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// NAS 배포 시 /saju 경로 사용
|
|
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
assetPrefix: process.env.NEXT_PUBLIC_BASE_PATH || '',
|
|
|
|
// Standalone 모드 (Docker 최적화)
|
|
output: 'standalone',
|
|
|
|
// 이미지 최적화 비활성화 (NAS 리소스 절약)
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|