media-kit/frontend/vite.config.ts
2026-11-05 17:39:35 +08:00

16 lines
369 B
TypeScript

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