From 74c2102f5fdbbc2b57dd65ffdd05a9fa19e74ee6 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 10 一月 2022 15:30:34 +0800 Subject: [PATCH] 优化多图上传组件返回图片列表 --- vue.config.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/vue.config.js b/vue.config.js index 76ccbea..9d70b33 100644 --- a/vue.config.js +++ b/vue.config.js @@ -77,6 +77,9 @@ // when there are many pages, it will cause too many meaningless requests config.plugins.delete('prefetch') + // 鎵撳寘鍚庢敞閲奵onsole TODO 寰呮祴璇� + // config.optimization.minimizer('terser').tap((args) => { args[0].terserOptions.compress.drop_console = true; return args }) + // set svg-sprite-loader config.module .rule('svg') -- Gitblit v1.8.0