From f7268e7ce44ccf3c63b8cbe62fa6ce1ec757360b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 17 Feb 2022 18:34:59 +0800 Subject: [PATCH] =?UTF-8?q?v3.8.1=20=E6=96=B0=E5=A2=9E=E4=BD=BF=E7=94=A8Gz?= =?UTF-8?q?ip=E8=A7=A3=E5=8E=8B=E7=BC=A9=E9=9D=99=E6=80=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin/vue.config.js b/yudao-ui-admin/vue.config.js index 0dab88bbc..dbf6a6698 100644 --- a/yudao-ui-admin/vue.config.js +++ b/yudao-ui-admin/vue.config.js @@ -61,11 +61,11 @@ module.exports = { } }, plugins: [ + // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#使用gzip解压缩静态文件 new CompressionPlugin({ test: /\.(js|css|html)?$/i, // 压缩文件格式 filename: '[path].gz[query]', // 压缩后的文件名 algorithm: 'gzip', // 使用gzip压缩 - threshold: 10240, // 对超过10K的数据压缩 minRatio: 0.8 // 压缩率小于1才会压缩 }) ],