mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 22:30:19 +08:00
chore(projects): release v0.10.3 thin branch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { defineConfig, loadEnv } from 'vite';
|
||||
import { createViteProxy, getRootPath, getSrcPath, setupVitePlugins, viteDefine } from './build';
|
||||
import { createViteProxy, getRootPath, getSrcPath, setupVitePlugins } from './build';
|
||||
import { getServiceEnvConfig } from './.env-config';
|
||||
|
||||
export default defineConfig(configEnv => {
|
||||
@@ -20,7 +20,6 @@ export default defineConfig(configEnv => {
|
||||
'vue-i18n': 'vue-i18n/dist/vue-i18n.cjs.js'
|
||||
}
|
||||
},
|
||||
define: viteDefine,
|
||||
plugins: setupVitePlugins(viteEnv),
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
@@ -36,17 +35,7 @@ export default defineConfig(configEnv => {
|
||||
proxy: createViteProxy(isOpenProxy, envConfig)
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'@antv/data-set',
|
||||
'@antv/g2',
|
||||
'@better-scroll/core',
|
||||
'echarts',
|
||||
'swiper',
|
||||
'swiper/vue',
|
||||
'vditor',
|
||||
'wangeditor',
|
||||
'xgplayer'
|
||||
]
|
||||
include: ['@better-scroll/core']
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
|
||||
Reference in New Issue
Block a user