forked from Eeveid/lightOps
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
import { defineConfig } from 'vite';
|
|
import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte({ preprocess: vitePreprocess() })],
|
|
build: {
|
|
chunkSizeWarningLimit: 800
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:8080'
|
|
}
|
|
}
|
|
});
|