实现 LightOps 运维面板基础功能
This commit is contained in:
14
web/vite.config.ts
Normal file
14
web/vite.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user