From be323b75a14b8e33a44b0f11e3f342e5c9c43f84 Mon Sep 17 00:00:00 2001
From: 光速蜗牛 <361946749@qq.com>
Date: Mon, 10 Aug 2020 14:49:38 +0800
Subject: [PATCH] update ant-design-vue-jeecg/vue.config.js. 这个正则应该要这样写才对

---
 ant-design-vue-jeecg/vue.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ant-design-vue-jeecg/vue.config.js b/ant-design-vue-jeecg/vue.config.js
index a63d7bb..454e222 100644
--- a/ant-design-vue-jeecg/vue.config.js
+++ b/ant-design-vue-jeecg/vue.config.js
@@ -38,7 +38,7 @@ module.exports = {
     //生产环境,开启js\css压缩
     if (process.env.NODE_ENV === 'production') {
         config.plugin('compressionPlugin').use(new CompressionPlugin({
-          test: /\.js$|.\css|.\less/, // 匹配文件名
+          test: /\.(js|css|less)$/, // 匹配文件名
           threshold: 10240, // 对超过10k的数据压缩
           deleteOriginalAssets: false // 不删除源文件
         }))
--
libgit2 0.22.2