mirror of
https://github.com/HK560/R1DeltaServerList.git
synced 2026-08-01 00:12:00 -04:00
25 lines
No EOL
475 B
JavaScript
25 lines
No EOL
475 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
build: {
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
'vue-i18n': ['vue-i18n']
|
|
}
|
|
}
|
|
}
|
|
},
|
|
server: {
|
|
port: 3000,
|
|
proxy: {
|
|
'/r1d-api': {
|
|
target: 'http://r1dms.elbadaernu.com',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/r1d-api/, '')
|
|
}
|
|
}
|
|
}
|
|
})
|