2022-12-19 21:54:30 +01:00
|
|
|
import {fileURLToPath, URL} from 'node:url'
|
|
|
|
|
|
|
|
import {defineConfig} from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [vue()],
|
|
|
|
base: './',
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
|
|
}
|
|
|
|
},
|
|
|
|
define: {
|
|
|
|
__VUE_I18N_FULL_INSTALL__: true,
|
|
|
|
__VUE_I18N_LEGACY_API__: false,
|
|
|
|
__INTLIFY_PROD_DEVTOOLS__: false,
|
|
|
|
},
|
|
|
|
build: {},
|
|
|
|
server: {
|
|
|
|
proxy: {
|
|
|
|
'/settings.json': {
|
2023-06-18 23:52:41 +02:00
|
|
|
//target: 'http://localhost:8100',
|
|
|
|
target: 'https://bluecolored.de/bluemap',
|
2022-12-19 21:54:30 +01:00
|
|
|
changeOrigin: true,
|
|
|
|
},
|
|
|
|
'/maps': {
|
2023-06-18 23:52:41 +02:00
|
|
|
//target: 'http://localhost:8100',
|
|
|
|
target: 'https://bluecolored.de/bluemap',
|
2022-12-19 21:54:30 +01:00
|
|
|
changeOrigin: true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|