From 217e215e5487b53db7d64fe3d809c47289cd83ae Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 28 May 2025 00:30:18 +0000 Subject: (김준회) 오라클 DB 연결을 위한 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'next.config.ts') diff --git a/next.config.ts b/next.config.ts index a87a0d79..9bc5785e 100644 --- a/next.config.ts +++ b/next.config.ts @@ -10,6 +10,26 @@ const nextConfig: NextConfig = { typescript: { ignoreBuildErrors: true, }, + webpack: (config) => { + // turbo의 resolveAlias와 동일한 설정을 webpack에 적용 + config.resolve.alias = { + ...config.resolve.alias, + '@azure/app-configuration': false, + '@azure/identity': false, + '@azure/keyvault-secrets': false, + 'oci-common': false, + 'oci-objectstorage': false, + 'oci-secrets': false, + 'better-sqlite3': false, + 'mysql': false, + 'mysql2': false, + 'pg-query-stream': false, + 'sqlite3': false, + 'tedious': false, + }; + + return config; + }, experimental: { serverActions: { // [김준회 프로] DRM 복호화/암호화 백엔드로 보낼 때 사이즈 제한 변경(기본값: 1MB) -- cgit v1.2.3