004224a225
Change-Id: Ic4dc430a52a080205863ac393af2c4d903bf6578
20 lines
453 B
JavaScript
20 lines
453 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
},
|
|
define: {
|
|
'process.env.VITE_BACKEND_URL': JSON.stringify(process.env.VITE_BACKEND_URL || "https://cfsb-backend.cd.nebulouscloud.eu")
|
|
}
|
|
})
|