chore: keep console.info

This commit is contained in:
Tristan Yang
2024-08-30 22:27:23 +08:00
parent bda2ee34b0
commit a31a8d00a0
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ module.exports = function (webpackEnv) {
},
compress: {
drop_console: false,
pure_funcs: ["console.log"],
pure_funcs: ["console.log", "console.info"],
ecma: 5,
warnings: false,
// Disabled because of an issue with Uglify breaking seemingly valid code:
+2
View File
@@ -97,6 +97,8 @@ const handler = (
}
// }
});
// 推给 PC 端
console.info("{{NEW_MSG}}")
break;
}
case "reply":