This commit is contained in:
Michael committed 2026-08-06 19:00:08 +12:00
1 parent f7037a6780
commit acb5070622
44 files changed
+5047

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [svelte(), tailwindcss()],
build: {
outDir: 'dist',
},
server: {
proxy: {
// `npm run dev` proxies API calls to the Go backend so the SPA can be
// developed without rebuilding the whole binary on every change.
'/api': 'http://localhost:8080',
},
},
})