build(vue.config): replace config.log with console.log

将vue配置文件中的自定义日志输出替换为标准console.log,移除了依赖的自定义日志工具调用
This commit is contained in:
2026-07-18 14:42:09 +08:00
parent ae5b878822
commit f01a1d7efc

View File

@@ -543,7 +543,7 @@ module.exports = {
// 区分平台配置压缩选项
const enableKeepConsole = process.env.UNI_PLATFORM === 'mp-harmony';
config.log(`[vue.config] 是否保留console语句 = ${Boolean(enableKeepConsole)}`);
console.log(`[vue.config] 是否保留console语句 = ${Boolean(enableKeepConsole)}`);
// 基础压缩配置(通用)
const terserOptions = {