mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-12-24 08:12:55 +08:00
修复验证码验证bug
This commit is contained in:
@@ -10,7 +10,7 @@ import Components from 'unplugin-vue-components/vite'
|
||||
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
|
||||
|
||||
import viteCompression from 'vite-plugin-compression'
|
||||
// import { visualizer } from 'rollup-plugin-visualizer'
|
||||
import { visualizer } from 'rollup-plugin-visualizer'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default ({ mode }) => {
|
||||
@@ -62,17 +62,17 @@ export default ({ mode }) => {
|
||||
}),
|
||||
viteCompression({
|
||||
algorithm: 'gzip'
|
||||
})
|
||||
}),
|
||||
// viteCompression({
|
||||
// algorithm: 'brotliCompress'
|
||||
// })
|
||||
// visualizer({
|
||||
// gzipSize: true,
|
||||
// brotliSize: true,
|
||||
// emitFile: false,
|
||||
// filename: 'test.html', //分析图生成的文件名
|
||||
// open: true //如果存在本地服务端口,将在打包后自动展示
|
||||
// })
|
||||
visualizer({
|
||||
gzipSize: true,
|
||||
brotliSize: true,
|
||||
emitFile: false,
|
||||
filename: 'test.html', //分析图生成的文件名
|
||||
open: true
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user