media-kit/frontend/vite.config.ts
2026-11-05 14:48:25 +08:00

16 lines
365 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,
},
},
},
})