chore: 项目环境升级为 JDK25,Spring 4.1,项目重构为多模块
This commit is contained in:
22
web-ui/apps/web/vite.config.ts
Normal file
22
web-ui/apps/web/vite.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: { dedupe: ['vue', 'vue-router'] },
|
||||
server: {
|
||||
port: 15173,
|
||||
proxy: {
|
||||
'/api': 'http://127.0.0.1:8080'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
target: 'es2022',
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: { vue: ['vue', 'vue-router'] }
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user