diff --git a/next.config.ts b/next.config.ts index 68dbb10..5690435 100644 --- a/next.config.ts +++ b/next.config.ts @@ -7,6 +7,9 @@ const nextConfig: NextConfig = { unoptimized: true, }, distDir: "dist", + compiler: { + removeConsole: process.env.NODE_ENV === "production", + }, }; export default nextConfig;