Commit 039f4a0d1104c0577e80e9725ff6777a34b6d8a5

Authored by xingyu
1 parent e255d512

fix: build

yudao-ui-admin-vue3/build/vite/index.ts
@@ -67,7 +67,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) { @@ -67,7 +67,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
67 threshold: 10240, // 体积大于 threshold 才会被压缩,单位 b 67 threshold: 10240, // 体积大于 threshold 才会被压缩,单位 b
68 algorithm: 'gzip', // 压缩算法,可选 [ 'gzip' , 'brotliCompress' ,'deflate' , 'deflateRaw'] 68 algorithm: 'gzip', // 压缩算法,可选 [ 'gzip' , 'brotliCompress' ,'deflate' , 'deflateRaw']
69 ext: '.gz', // 生成的压缩包后缀 69 ext: '.gz', // 生成的压缩包后缀
70 - deleteOriginFile: true //压缩后是否删除源文件 70 + deleteOriginFile: false //压缩后是否删除源文件
71 }), 71 }),
72 ViteEjsPlugin({ 72 ViteEjsPlugin({
73 title: VITE_APP_TITLE 73 title: VITE_APP_TITLE
yudao-ui-admin-vue3/package.json
@@ -68,9 +68,11 @@ @@ -68,9 +68,11 @@
68 "@types/qs": "^6.9.7", 68 "@types/qs": "^6.9.7",
69 "@typescript-eslint/eslint-plugin": "^5.45.0", 69 "@typescript-eslint/eslint-plugin": "^5.45.0",
70 "@typescript-eslint/parser": "^5.45.0", 70 "@typescript-eslint/parser": "^5.45.0",
  71 + "@vitejs/plugin-legacy": "^2.3.1",
71 "@vitejs/plugin-vue": "^3.2.0", 72 "@vitejs/plugin-vue": "^3.2.0",
72 "@vitejs/plugin-vue-jsx": "^2.1.1", 73 "@vitejs/plugin-vue-jsx": "^2.1.1",
73 "autoprefixer": "^10.4.13", 74 "autoprefixer": "^10.4.13",
  75 + "consola": "^2.15.3",
74 "eslint": "^8.29.0", 76 "eslint": "^8.29.0",
75 "eslint-config-prettier": "^8.5.0", 77 "eslint-config-prettier": "^8.5.0",
76 "eslint-define-config": "^1.12.0", 78 "eslint-define-config": "^1.12.0",
@@ -90,6 +92,7 @@ @@ -90,6 +92,7 @@
90 "stylelint-config-recommended": "^9.0.0", 92 "stylelint-config-recommended": "^9.0.0",
91 "stylelint-config-standard": "^29.0.0", 93 "stylelint-config-standard": "^29.0.0",
92 "stylelint-order": "^5.0.0", 94 "stylelint-order": "^5.0.0",
  95 + "terser": "^5.16.1",
93 "typescript": "4.9.3", 96 "typescript": "4.9.3",
94 "vite": "3.2.5", 97 "vite": "3.2.5",
95 "vite-plugin-compression": "^0.5.1", 98 "vite-plugin-compression": "^0.5.1",
yudao-ui-admin-vue3/pnpm-lock.yaml
@@ -15,6 +15,7 @@ specifiers: @@ -15,6 +15,7 @@ specifiers:
15 '@types/qs': ^6.9.7 15 '@types/qs': ^6.9.7
16 '@typescript-eslint/eslint-plugin': ^5.45.0 16 '@typescript-eslint/eslint-plugin': ^5.45.0
17 '@typescript-eslint/parser': ^5.45.0 17 '@typescript-eslint/parser': ^5.45.0
  18 + '@vitejs/plugin-legacy': ^2.3.1
18 '@vitejs/plugin-vue': ^3.2.0 19 '@vitejs/plugin-vue': ^3.2.0
19 '@vitejs/plugin-vue-jsx': ^2.1.1 20 '@vitejs/plugin-vue-jsx': ^2.1.1
20 '@vueuse/core': ^9.6.0 21 '@vueuse/core': ^9.6.0
@@ -24,6 +25,7 @@ specifiers: @@ -24,6 +25,7 @@ specifiers:
24 animate.css: ^4.1.1 25 animate.css: ^4.1.1
25 autoprefixer: ^10.4.13 26 autoprefixer: ^10.4.13
26 axios: ^1.2.0 27 axios: ^1.2.0
  28 + consola: ^2.15.3
27 crypto-js: ^4.1.1 29 crypto-js: ^4.1.1
28 dayjs: ^1.11.6 30 dayjs: ^1.11.6
29 echarts: ^5.4.0 31 echarts: ^5.4.0
@@ -56,6 +58,7 @@ specifiers: @@ -56,6 +58,7 @@ specifiers:
56 stylelint-config-recommended: ^9.0.0 58 stylelint-config-recommended: ^9.0.0
57 stylelint-config-standard: ^29.0.0 59 stylelint-config-standard: ^29.0.0
58 stylelint-order: ^5.0.0 60 stylelint-order: ^5.0.0
  61 + terser: ^5.16.1
59 typescript: 4.9.3 62 typescript: 4.9.3
60 url: ^0.11.0 63 url: ^0.11.0
61 vite: 3.2.5 64 vite: 3.2.5
@@ -124,9 +127,11 @@ devDependencies: @@ -124,9 +127,11 @@ devDependencies:
124 '@types/qs': 6.9.7 127 '@types/qs': 6.9.7
125 '@typescript-eslint/eslint-plugin': 5.45.0_yjegg5cyoezm3fzsmuszzhetym 128 '@typescript-eslint/eslint-plugin': 5.45.0_yjegg5cyoezm3fzsmuszzhetym
126 '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla 129 '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla
  130 + '@vitejs/plugin-legacy': 2.3.1_terser@5.16.1+vite@3.2.5
127 '@vitejs/plugin-vue': 3.2.0_vite@3.2.5+vue@3.2.45 131 '@vitejs/plugin-vue': 3.2.0_vite@3.2.5+vue@3.2.45
128 '@vitejs/plugin-vue-jsx': 2.1.1_vite@3.2.5+vue@3.2.45 132 '@vitejs/plugin-vue-jsx': 2.1.1_vite@3.2.5+vue@3.2.45
129 autoprefixer: 10.4.13_postcss@8.4.19 133 autoprefixer: 10.4.13_postcss@8.4.19
  134 + consola: 2.15.3
130 eslint: 8.29.0 135 eslint: 8.29.0
131 eslint-config-prettier: 8.5.0_eslint@8.29.0 136 eslint-config-prettier: 8.5.0_eslint@8.29.0
132 eslint-define-config: 1.12.0 137 eslint-define-config: 1.12.0
@@ -146,8 +151,9 @@ devDependencies: @@ -146,8 +151,9 @@ devDependencies:
146 stylelint-config-recommended: 9.0.0_stylelint@14.16.0 151 stylelint-config-recommended: 9.0.0_stylelint@14.16.0
147 stylelint-config-standard: 29.0.0_stylelint@14.16.0 152 stylelint-config-standard: 29.0.0_stylelint@14.16.0
148 stylelint-order: 5.0.0_stylelint@14.16.0 153 stylelint-order: 5.0.0_stylelint@14.16.0
  154 + terser: 5.16.1
149 typescript: 4.9.3 155 typescript: 4.9.3
150 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 156 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
151 vite-plugin-compression: 0.5.1_vite@3.2.5 157 vite-plugin-compression: 0.5.1_vite@3.2.5
152 vite-plugin-ejs: 1.6.4 158 vite-plugin-ejs: 1.6.4
153 vite-plugin-eslint: 1.8.1_eslint@8.29.0+vite@3.2.5 159 vite-plugin-eslint: 1.8.1_eslint@8.29.0+vite@3.2.5
@@ -426,6 +432,11 @@ packages: @@ -426,6 +432,11 @@ packages:
426 regenerator-runtime: 0.13.11 432 regenerator-runtime: 0.13.11
427 dev: false 433 dev: false
428 434
  435 + /@babel/standalone/7.20.6:
  436 + resolution: {integrity: sha512-u5at/CbBLETf7kx2LOY4XdhseD79Y099WZKAOMXeT8qvd9OSR515my2UNBBLY4qIht/Qi9KySeQHQwQwxJN4Sw==}
  437 + engines: {node: '>=6.9.0'}
  438 + dev: true
  439 +
429 /@babel/template/7.18.10: 440 /@babel/template/7.18.10:
430 resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} 441 resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==}
431 engines: {node: '>=6.9.0'} 442 engines: {node: '>=6.9.0'}
@@ -828,7 +839,7 @@ packages: @@ -828,7 +839,7 @@ packages:
828 debug: 4.3.4 839 debug: 4.3.4
829 fast-glob: 3.2.12 840 fast-glob: 3.2.12
830 source-map: 0.6.1 841 source-map: 0.6.1
831 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 842 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
832 vue-i18n: 9.2.2_vue@3.2.45 843 vue-i18n: 9.2.2_vue@3.2.45
833 transitivePeerDependencies: 844 transitivePeerDependencies:
834 - supports-color 845 - supports-color
@@ -868,6 +879,13 @@ packages: @@ -868,6 +879,13 @@ packages:
868 engines: {node: '>=6.0.0'} 879 engines: {node: '>=6.0.0'}
869 dev: true 880 dev: true
870 881
  882 + /@jridgewell/source-map/0.3.2:
  883 + resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==}
  884 + dependencies:
  885 + '@jridgewell/gen-mapping': 0.3.2
  886 + '@jridgewell/trace-mapping': 0.3.17
  887 + dev: true
  888 +
871 /@jridgewell/sourcemap-codec/1.4.14: 889 /@jridgewell/sourcemap-codec/1.4.14:
872 resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} 890 resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
873 dev: true 891 dev: true
@@ -1216,6 +1234,22 @@ packages: @@ -1216,6 +1234,22 @@ packages:
1216 nanoid: 3.3.4 1234 nanoid: 3.3.4
1217 dev: false 1235 dev: false
1218 1236
  1237 + /@vitejs/plugin-legacy/2.3.1_terser@5.16.1+vite@3.2.5:
  1238 + resolution: {integrity: sha512-J5KaGBlSt2tEYPVjM/C8dA6DkRzkFkbPe+Xb4IX5G+XOV5OGbVAfkMjKywdrkO3gGynO8S98i71Lmsff4cWkCQ==}
  1239 + engines: {node: ^14.18.0 || >=16.0.0}
  1240 + peerDependencies:
  1241 + terser: ^5.4.0
  1242 + vite: ^3.0.0
  1243 + dependencies:
  1244 + '@babel/standalone': 7.20.6
  1245 + core-js: 3.26.1
  1246 + magic-string: 0.26.7
  1247 + regenerator-runtime: 0.13.11
  1248 + systemjs: 6.13.0
  1249 + terser: 5.16.1
  1250 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
  1251 + dev: true
  1252 +
1219 /@vitejs/plugin-vue-jsx/2.1.1_vite@3.2.5+vue@3.2.45: 1253 /@vitejs/plugin-vue-jsx/2.1.1_vite@3.2.5+vue@3.2.45:
1220 resolution: {integrity: sha512-JgDhxstQlwnHBvZ1BSnU5mbmyQ14/t5JhREc6YH5kWyu2QdAAOsLF6xgHoIWarj8tddaiwFrNzLbWJPudpXKYA==} 1254 resolution: {integrity: sha512-JgDhxstQlwnHBvZ1BSnU5mbmyQ14/t5JhREc6YH5kWyu2QdAAOsLF6xgHoIWarj8tddaiwFrNzLbWJPudpXKYA==}
1221 engines: {node: ^14.18.0 || >=16.0.0} 1255 engines: {node: ^14.18.0 || >=16.0.0}
@@ -1226,7 +1260,7 @@ packages: @@ -1226,7 +1260,7 @@ packages:
1226 '@babel/core': 7.20.2 1260 '@babel/core': 7.20.2
1227 '@babel/plugin-transform-typescript': 7.20.2_@babel+core@7.20.2 1261 '@babel/plugin-transform-typescript': 7.20.2_@babel+core@7.20.2
1228 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.20.2 1262 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.20.2
1229 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 1263 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
1230 vue: 3.2.45 1264 vue: 3.2.45
1231 transitivePeerDependencies: 1265 transitivePeerDependencies:
1232 - supports-color 1266 - supports-color
@@ -1239,7 +1273,7 @@ packages: @@ -1239,7 +1273,7 @@ packages:
1239 vite: ^3.0.0 1273 vite: ^3.0.0
1240 vue: ^3.2.25 1274 vue: ^3.2.25
1241 dependencies: 1275 dependencies:
1242 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 1276 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
1243 vue: 3.2.45 1277 vue: 3.2.45
1244 dev: true 1278 dev: true
1245 1279
@@ -1933,6 +1967,10 @@ packages: @@ -1933,6 +1967,10 @@ packages:
1933 update-browserslist-db: 1.0.10_browserslist@4.21.4 1967 update-browserslist-db: 1.0.10_browserslist@4.21.4
1934 dev: true 1968 dev: true
1935 1969
  1970 + /buffer-from/1.1.2:
  1971 + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
  1972 + dev: true
  1973 +
1936 /cache-base/1.0.1: 1974 /cache-base/1.0.1:
1937 resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} 1975 resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==}
1938 engines: {node: '>=0.10.0'} 1976 engines: {node: '>=0.10.0'}
@@ -2159,6 +2197,10 @@ packages: @@ -2159,6 +2197,10 @@ packages:
2159 delayed-stream: 1.0.0 2197 delayed-stream: 1.0.0
2160 dev: false 2198 dev: false
2161 2199
  2200 + /commander/2.20.3:
  2201 + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
  2202 + dev: true
  2203 +
2162 /commander/7.2.0: 2204 /commander/7.2.0:
2163 resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} 2205 resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
2164 engines: {node: '>= 10'} 2206 engines: {node: '>= 10'}
@@ -2188,6 +2230,10 @@ packages: @@ -2188,6 +2230,10 @@ packages:
2188 resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} 2230 resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
2189 dev: true 2231 dev: true
2190 2232
  2233 + /consola/2.15.3:
  2234 + resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==}
  2235 + dev: true
  2236 +
2191 /console/0.7.2: 2237 /console/0.7.2:
2192 resolution: {integrity: sha512-+JSDwGunA4MTEgAV/4VBKwUHonP8CzJ/6GIuwPi6acKFqFfHUdSGCm89ZxZ5FfGWdZfkdgAroy5bJ5FSeN/t4g==} 2238 resolution: {integrity: sha512-+JSDwGunA4MTEgAV/4VBKwUHonP8CzJ/6GIuwPi6acKFqFfHUdSGCm89ZxZ5FfGWdZfkdgAroy5bJ5FSeN/t4g==}
2193 dev: true 2239 dev: true
@@ -2239,6 +2285,11 @@ packages: @@ -2239,6 +2285,11 @@ packages:
2239 engines: {node: '>=0.10.0'} 2285 engines: {node: '>=0.10.0'}
2240 dev: true 2286 dev: true
2241 2287
  2288 + /core-js/3.26.1:
  2289 + resolution: {integrity: sha512-21491RRQVzUn0GGM9Z1Jrpr6PNPxPi+Za8OM9q4tksTSnlbXXGKK1nXNg/QvwFYettXvSX6zWKCtHHfjN4puyA==}
  2290 + requiresBuild: true
  2291 + dev: true
  2292 +
2242 /cors/2.8.5: 2293 /cors/2.8.5:
2243 resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} 2294 resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}
2244 engines: {node: '>= 0.10'} 2295 engines: {node: '>= 0.10'}
@@ -5000,7 +5051,6 @@ packages: @@ -5000,7 +5051,6 @@ packages:
5000 5051
5001 /regenerator-runtime/0.13.11: 5052 /regenerator-runtime/0.13.11:
5002 resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} 5053 resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==}
5003 - dev: false  
5004 5054
5005 /regex-not/1.0.2: 5055 /regex-not/1.0.2:
5006 resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} 5056 resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==}
@@ -5342,6 +5392,13 @@ packages: @@ -5342,6 +5392,13 @@ packages:
5342 urix: 0.1.0 5392 urix: 0.1.0
5343 dev: true 5393 dev: true
5344 5394
  5395 + /source-map-support/0.5.21:
  5396 + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
  5397 + dependencies:
  5398 + buffer-from: 1.1.2
  5399 + source-map: 0.6.1
  5400 + dev: true
  5401 +
5345 /source-map-url/0.4.1: 5402 /source-map-url/0.4.1:
5346 resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} 5403 resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==}
5347 deprecated: See https://github.com/lydell/source-map-url#deprecated 5404 deprecated: See https://github.com/lydell/source-map-url#deprecated
@@ -5358,6 +5415,7 @@ packages: @@ -5358,6 +5415,7 @@ packages:
5358 5415
5359 /sourcemap-codec/1.4.8: 5416 /sourcemap-codec/1.4.8:
5360 resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} 5417 resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
  5418 + deprecated: Please use @jridgewell/sourcemap-codec instead
5361 5419
5362 /spdx-correct/3.1.1: 5420 /spdx-correct/3.1.1:
5363 resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} 5421 resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==}
@@ -5662,6 +5720,10 @@ packages: @@ -5662,6 +5720,10 @@ packages:
5662 stable: 0.1.8 5720 stable: 0.1.8
5663 dev: true 5721 dev: true
5664 5722
  5723 + /systemjs/6.13.0:
  5724 + resolution: {integrity: sha512-P3cgh2bpaPvAO2NE3uRp/n6hmk4xPX4DQf+UzTlCAycssKdqhp6hjw+ENWe+aUS7TogKRFtptMosTSFeC6R55g==}
  5725 + dev: true
  5726 +
5665 /table/6.8.1: 5727 /table/6.8.1:
5666 resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==} 5728 resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==}
5667 engines: {node: '>=10.0.0'} 5729 engines: {node: '>=10.0.0'}
@@ -5673,6 +5735,17 @@ packages: @@ -5673,6 +5735,17 @@ packages:
5673 strip-ansi: 6.0.1 5735 strip-ansi: 6.0.1
5674 dev: true 5736 dev: true
5675 5737
  5738 + /terser/5.16.1:
  5739 + resolution: {integrity: sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==}
  5740 + engines: {node: '>=10'}
  5741 + hasBin: true
  5742 + dependencies:
  5743 + '@jridgewell/source-map': 0.3.2
  5744 + acorn: 8.8.1
  5745 + commander: 2.20.3
  5746 + source-map-support: 0.5.21
  5747 + dev: true
  5748 +
5676 /text-extensions/1.9.0: 5749 /text-extensions/1.9.0:
5677 resolution: {integrity: sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==} 5750 resolution: {integrity: sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==}
5678 engines: {node: '>=0.10'} 5751 engines: {node: '>=0.10'}
@@ -5944,7 +6017,7 @@ packages: @@ -5944,7 +6017,7 @@ packages:
5944 chalk: 4.1.2 6017 chalk: 4.1.2
5945 debug: 4.3.4 6018 debug: 4.3.4
5946 fs-extra: 10.1.0 6019 fs-extra: 10.1.0
5947 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6020 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
5948 transitivePeerDependencies: 6021 transitivePeerDependencies:
5949 - supports-color 6022 - supports-color
5950 dev: true 6023 dev: true
@@ -5965,7 +6038,7 @@ packages: @@ -5965,7 +6038,7 @@ packages:
5965 '@types/eslint': 8.4.10 6038 '@types/eslint': 8.4.10
5966 eslint: 8.29.0 6039 eslint: 8.29.0
5967 rollup: 2.79.1 6040 rollup: 2.79.1
5968 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6041 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
5969 dev: true 6042 dev: true
5970 6043
5971 /vite-plugin-progress/0.0.6_vite@3.2.5: 6044 /vite-plugin-progress/0.0.6_vite@3.2.5:
@@ -5977,7 +6050,7 @@ packages: @@ -5977,7 +6050,7 @@ packages:
5977 picocolors: 1.0.0 6050 picocolors: 1.0.0
5978 progress: 2.0.3 6051 progress: 2.0.3
5979 rd: 2.0.1 6052 rd: 2.0.1
5980 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6053 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
5981 dev: true 6054 dev: true
5982 6055
5983 /vite-plugin-purge-icons/0.9.1_vite@3.2.5: 6056 /vite-plugin-purge-icons/0.9.1_vite@3.2.5:
@@ -5989,7 +6062,7 @@ packages: @@ -5989,7 +6062,7 @@ packages:
5989 '@purge-icons/core': 0.9.1 6062 '@purge-icons/core': 0.9.1
5990 '@purge-icons/generated': 0.9.0 6063 '@purge-icons/generated': 0.9.0
5991 rollup-plugin-purge-icons: 0.9.1 6064 rollup-plugin-purge-icons: 0.9.1
5992 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6065 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
5993 transitivePeerDependencies: 6066 transitivePeerDependencies:
5994 - encoding 6067 - encoding
5995 - supports-color 6068 - supports-color
@@ -6007,7 +6080,7 @@ packages: @@ -6007,7 +6080,7 @@ packages:
6007 fs-extra: 10.1.0 6080 fs-extra: 10.1.0
6008 magic-string: 0.25.9 6081 magic-string: 0.25.9
6009 pathe: 0.2.0 6082 pathe: 0.2.0
6010 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6083 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
6011 dev: true 6084 dev: true
6012 6085
6013 /vite-plugin-svg-icons/2.0.1_vite@3.2.5: 6086 /vite-plugin-svg-icons/2.0.1_vite@3.2.5:
@@ -6023,7 +6096,7 @@ packages: @@ -6023,7 +6096,7 @@ packages:
6023 pathe: 0.2.0 6096 pathe: 0.2.0
6024 svg-baker: 1.7.0 6097 svg-baker: 1.7.0
6025 svgo: 2.8.0 6098 svgo: 2.8.0
6026 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6099 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
6027 transitivePeerDependencies: 6100 transitivePeerDependencies:
6028 - supports-color 6101 - supports-color
6029 dev: true 6102 dev: true
@@ -6035,7 +6108,7 @@ packages: @@ -6035,7 +6108,7 @@ packages:
6035 dependencies: 6108 dependencies:
6036 '@vue/compiler-sfc': 3.2.45 6109 '@vue/compiler-sfc': 3.2.45
6037 magic-string: 0.25.9 6110 magic-string: 0.25.9
6038 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6111 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
6039 dev: true 6112 dev: true
6040 6113
6041 /vite-plugin-windicss/1.8.8_vite@3.2.5: 6114 /vite-plugin-windicss/1.8.8_vite@3.2.5:
@@ -6046,13 +6119,13 @@ packages: @@ -6046,13 +6119,13 @@ packages:
6046 '@windicss/plugin-utils': 1.8.8 6119 '@windicss/plugin-utils': 1.8.8
6047 debug: 4.3.4 6120 debug: 4.3.4
6048 kolorist: 1.6.0 6121 kolorist: 1.6.0
6049 - vite: 3.2.5_clvymlzunojxjbv3h6i2warera 6122 + vite: 3.2.5_hkozoy3rp4unz5ikgaby45vsia
6050 windicss: 3.5.6 6123 windicss: 3.5.6
6051 transitivePeerDependencies: 6124 transitivePeerDependencies:
6052 - supports-color 6125 - supports-color
6053 dev: true 6126 dev: true
6054 6127
6055 - /vite/3.2.5_clvymlzunojxjbv3h6i2warera: 6128 + /vite/3.2.5_hkozoy3rp4unz5ikgaby45vsia:
6056 resolution: {integrity: sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==} 6129 resolution: {integrity: sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==}
6057 engines: {node: ^14.18.0 || >=16.0.0} 6130 engines: {node: ^14.18.0 || >=16.0.0}
6058 hasBin: true 6131 hasBin: true
@@ -6083,6 +6156,7 @@ packages: @@ -6083,6 +6156,7 @@ packages:
6083 resolve: 1.22.1 6156 resolve: 1.22.1
6084 rollup: 2.79.1 6157 rollup: 2.79.1
6085 sass: 1.56.1 6158 sass: 1.56.1
  6159 + terser: 5.16.1
6086 optionalDependencies: 6160 optionalDependencies:
6087 fsevents: 2.3.2 6161 fsevents: 2.3.2
6088 dev: true 6162 dev: true
yudao-ui-admin-vue3/vite.config.ts
@@ -33,11 +33,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { @@ -33,11 +33,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
33 open: env.VITE_OPEN, 33 open: env.VITE_OPEN,
34 // 本地跨域代理 34 // 本地跨域代理
35 proxy: { 35 proxy: {
36 - ['/dev-api']: { 36 + ['/admin-api']: {
37 target: env.VITE_BASE_URL, 37 target: env.VITE_BASE_URL,
38 ws: false, 38 ws: false,
39 changeOrigin: true, 39 changeOrigin: true,
40 - rewrite: (path) => path.replace(new RegExp(`^/dev-api`), ''), 40 + rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),
41 }, 41 },
42 }, 42 },
43 }, 43 },