import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' // The production build is written into ../server/dist so the Go BFF can embed // it via //go:embed all:dist and serve it at the server root. export default defineConfig({ plugins: [vue()], base: './', build: { outDir: '../server/dist', emptyOutDir: true, }, server: { port: 5175, proxy: { // Dev-mode proxy to a locally running Web App BFF. '/bff': 'http://localhost:8090', }, }, })