添加打包相关配置

This commit is contained in:
2026-06-30 15:20:34 +08:00
parent 21e77fbec4
commit d2a41dffe9
3 changed files with 5 additions and 2 deletions

View File

@@ -5,8 +5,10 @@ import vue from '@vitejs/plugin-vue'
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '')
const proxyTarget = env.VITE_PROXY_TARGET || 'http://localhost:9999'
const base = env.VITE_APP_BASE || '/'
return {
base,
plugins: [vue()],
resolve: {
alias: {