mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 18:45:21 +01:00
1454297bbd
* Rework gradle-build setup * Fix versioning * Fix github build * Configure publishing * Push BlueMapAPI * Reorganize project naming * Update neoforge-gradle * Add gradle-stracktrace to github action * Remove clean gradle target to hopefully no longer upset neogradle for some reason * Update gradle and add stacktrace to github action again * Update neogradle * Switch to neoforges ModDevGradle
36 lines
921 B
JavaScript
36 lines
921 B
JavaScript
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': {
|
|
//target: 'http://localhost:8100',
|
|
target: 'https://bluecolored.de/bluemap',
|
|
changeOrigin: true,
|
|
},
|
|
'/maps': {
|
|
//target: 'http://localhost:8100',
|
|
target: 'https://bluecolored.de/bluemap',
|
|
changeOrigin: true,
|
|
}
|
|
}
|
|
}
|
|
})
|