diff --git a/vue.config.js b/vue.config.js index 55b6ed1e..6e8eb3b5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -61,7 +61,6 @@ module.exports = { // 移除 console // 其它优化选项 https://segmentfault.com/a/1190000010874406 compress: { - warnings: false, drop_console: true, drop_debugger: true, pure_funcs: ['console.log']