chore: keep console.info
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -97,6 +97,8 @@ const handler = (
|
||||
}
|
||||
// }
|
||||
});
|
||||
// 推给 PC 端
|
||||
console.info("{{NEW_MSG}}")
|
||||
break;
|
||||
}
|
||||
case "reply":
|
||||
|
||||
Reference in New Issue
Block a user