summaryrefslogtreecommitdiff
path: root/next.config.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-08-18 01:06:37 +0000
committerjoonhoekim <26rote@gmail.com>2025-08-18 01:06:37 +0000
commitb36330c94400f39ec9baed64b82a73bae58edbf2 (patch)
treeeea344d39b3101289ed4f6b74e0c98b6b33ef460 /next.config.ts
parent5adc1df95f80fbec7a0b5bbee15448b10d5aec3a (diff)
(김준회) 파일업로드시 바이너리검증부 주석처리, knex webpack 한계로 인한 빌드 로그 경고 무시, 환경변수 오류 처리, 벤더 로그인 폼 사업자번호를 000 으로 수정, 유저 phone number 사이즈 늘림, 도커 DB 예시 추가
Diffstat (limited to 'next.config.ts')
-rw-r--r--next.config.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/next.config.ts b/next.config.ts
index 2a9978a8..44275452 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -28,13 +28,22 @@ const nextConfig: NextConfig = {
'tedious': false,
};
- // [김준회] handlebars require.extensions 경고 무시
config.ignoreWarnings = [
...(config.ignoreWarnings || []),
+ // [김준회] handlebars require.extensions 경고 무시
{
module: /node_modules\/handlebars\/lib\/index\.js/,
message: /require\.extensions is not supported by webpack/,
},
+ // [김준회] knex import 관련 경고 무시 (webpack에서 정적 분석 진행할 때, 런타임에 결정되는 경로를 미리 알 수 없어 발생하는 경고임. 실제 동작에는 문제가 없음.)
+ {
+ module: /node_modules\/knex/,
+ message: /Critical dependency: the request of a dependency is an expression/,
+ },
+ {
+ module: /node_modules\/knex/,
+ message: /Can't resolve/,
+ },
];
return config;