fw-anwesenheit/web/vite.config.ts
Djeeberjr d764e9699b switched to svelte 5
front gets a bit to complex to do in vanilla
2025-05-16 18:59:19 +02:00

19 lines
350 B
TypeScript

import { defineConfig } from "vite"
import { svelte } from "@sveltejs/vite-plugin-svelte"
import tailwindcss from "@tailwindcss/vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [
tailwindcss(),
svelte()
],
server: {
proxy: {
"/api": {
target: "http://localhost:8080",
},
},
},
})