13 lines
253 B
TypeScript
13 lines
253 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [svelte()],
|
||
|
server: {
|
||
|
proxy: {
|
||
|
'/api': 'http://localhost:3000',
|
||
|
},
|
||
|
},
|
||
|
})
|