diff options
Diffstat (limited to 'next.config.ts')
| -rw-r--r-- | next.config.ts | 11 |
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; |
