From ff42676a2c10036da2192c252a5f644befa0aec0 Mon Sep 17 00:00:00 2001 From: nalsae Date: Tue, 26 Dec 2023 20:32:54 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20=F0=9F=90=9B=20Fix=20:=20=EC=9B=B9?= =?UTF-8?q?=EC=86=8C=EC=BC=93=20=EC=BD=98=EC=86=94=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/next.config.js b/client/next.config.js index 197b8833..1e04af48 100644 --- a/client/next.config.js +++ b/client/next.config.js @@ -8,6 +8,9 @@ const nextConfig = { }, ], }, + compiler: { + removeConsole: process.env.NEXT_PUBLIC_NODE_ENV === 'production', + }, }; module.exports = nextConfig;