From 9bedaac5d62c1b77898d18bcb391692eb2a6d18c Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 16 Jun 2025 23:31:45 +0800 Subject: [PATCH] . --- apps/blogai/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/blogai/next.config.js b/apps/blogai/next.config.js index de7c8fb..beef884 100644 --- a/apps/blogai/next.config.js +++ b/apps/blogai/next.config.js @@ -17,7 +17,7 @@ const nextConfig = { esmExternals: "loose", }, compiler: { - removeConsole: yes, // 保留所有模式中的 console.log + removeConsole: true, // 保留所有模式中的 console.log removeConsole: process.env.NODE_ENV === 'production' ? { exclude: ['error'] } : false, // ✅ 用 NODE_ENV emotion: true, },