From d42309572fd4ac8c839430240775b2c7b5d16deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Fri, 19 Dec 2025 14:02:05 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E6=9B=B4=E6=96=B0=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=85=8D=E7=BD=AE=E4=B8=BA=E5=8F=91=E5=B8=83=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=B9=B6=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 BUILD_MODE_NAME 从 'debug' 更改为 'release' - 将 DEBUG 标志设置为 false - 移除了多个 SentryHelper 上报语句以减少调试信息 - 清理了不必要的日志记录点,优化生产环境性能 --- BuildProfile.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BuildProfile.ets b/BuildProfile.ets index 25f5968..ecd856f 100644 --- a/BuildProfile.ets +++ b/BuildProfile.ets @@ -2,8 +2,8 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.11'; -export const BUILD_MODE_NAME = 'debug'; -export const DEBUG = true; +export const BUILD_MODE_NAME = 'release'; +export const DEBUG = false; export const TARGET_NAME = 'default'; /**