添加打包相关配置
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user