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;