RuoYi
2022-06-26 8c956d681b3522bb880d6f0f6b5186d20a0b1149
ruoyi-ui/vue.config.js
@@ -61,6 +61,7 @@
    plugins: [
      // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#使用gzip解压缩静态文件
      new CompressionPlugin({
        cache: false,                   // 不启用文件缓存
        test: /\.(js|css|html)?$/i,     // 压缩文件格式
        filename: '[path].gz[query]',   // 压缩后的文件名
        algorithm: 'gzip',              // 使用gzip压缩