diff --git a/apps/blogai/next.config.js b/apps/blogai/next.config.js index c88c39e..0564b02 100644 --- a/apps/blogai/next.config.js +++ b/apps/blogai/next.config.js @@ -17,7 +17,8 @@ const nextConfig = { esmExternals: "loose", }, compiler: { - removeConsole: process.env.VERCEL_ENV === 'production' ? { exclude: ['error'] } : false, + removeConsole: false, // 保留所有模式中的 console.log + //removeConsole: process.env.VERCEL_ENV === 'production' ? { exclude: ['error'] } : false, emotion: true, }, webpack: (config, { isServer }) => {