mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-15 22:33:40 +08:00
build(projects): 升级依赖、vite配置optimizeDeps
This commit is contained in:
@@ -37,6 +37,19 @@ export default defineConfig(configEnv => {
|
||||
preview: {
|
||||
port: 5050
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'@antv/data-set',
|
||||
'@antv/g2',
|
||||
'@better-scroll/core',
|
||||
'echarts',
|
||||
'swiper',
|
||||
'swiper/vue',
|
||||
'vditor',
|
||||
'wangeditor',
|
||||
'xgplayer'
|
||||
]
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
sourcemap: false,
|
||||
|
Reference in New Issue
Block a user