blob: 7508c10fdc63d279fe43f2948f61a33063fe6b06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
serverExternalPackages: ['pino', 'pino-pretty'],
reactStrictMode: false,
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
experimental: {
serverActions: {
// [김준회 프로] DRM 복호화/암호화 백엔드로 보낼 때 사이즈 제한 변경(기본값: 1MB)
// DDoS 공격을 방지하기 위해 기본값이 1MB로 설정되어 있음. 암호화된 파일 중 큰 파일(도면 등)도 1GB 이하로 가정하여 설정 (파일별로 서버액션 개별 호출)
bodySizeLimit: '1024mb',
},
turbo: {
treeShaking: false,
minify: false,
unstablePersistentCaching: false,
}
},
};
export default nextConfig;
|