build(vue.config): replace config.log with console.log
将vue配置文件中的自定义日志输出替换为标准console.log,移除了依赖的自定义日志工具调用
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user