File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 3939 runs-on : ubuntu-latest
4040 steps :
4141 - name : Clear Work Dir
42- run : rm -rf -- ./* ./.??*
42+ run : |
43+ ls -la
44+ rm -rf -- ./* ./.??*
4345 - name : Check Disk Space
4446 run : df -h
4547 - name : Free Disk Space (Ubuntu)
@@ -108,7 +110,9 @@ jobs:
108110 runs-on : ubuntu-latest
109111 steps :
110112 - name : Clear Work Dir
111- run : rm -rf -- ./* ./.??*
113+ run : |
114+ ls -la
115+ rm -rf -- ./* ./.??*
112116 - name : Check Disk Space
113117 run : df -h
114118 - name : Free Disk Space (Ubuntu)
Original file line number Diff line number Diff line change 4444 "screenfull" : " ^6.0.2" ,
4545 "sortablejs" : " ^1.15.6" ,
4646 "use-element-plus-theme" : " ^0.0.5" ,
47- "vite-plugin-compression" : " ^0.5.1" ,
4847 "vite-plugin-html" : " ^3.2.2" ,
4948 "vue" : " ^3.5.13" ,
5049 "vue-clipboard3" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
66import DefineOptions from 'unplugin-vue-define-options/vite'
77import path from 'path'
88import { createHtmlPlugin } from 'vite-plugin-html'
9- import viteCompression from 'vite-plugin-compression'
109import fs from 'fs'
1110// import vueDevTools from 'vite-plugin-vue-devtools'
1211const envDir = './env'
@@ -88,14 +87,6 @@ export default defineConfig((conf: any) => {
8887 DefineOptions ( ) ,
8988 createHtmlPlugin ( { template : ENV . VITE_ENTRY } ) ,
9089 renameHtmlPlugin ( `dist${ ENV . VITE_BASE_PATH } ` , ENV . VITE_ENTRY ) ,
91- viteCompression ( {
92- // gzip静态资源压缩配置
93- verbose : true , // 是否在控制台输出压缩结果
94- disable : false , // 是否禁用压缩
95- threshold : 10240 , // 启用压缩的文件大小限制
96- algorithm : 'gzip' , // 采用的压缩算法
97- ext : '.gz' , // 生成的压缩包后缀
98- } ) ,
9990 ] ,
10091 server : {
10192 cors : true ,
You can’t perform that action at this time.
0 commit comments