2024-10-27 18:29:40 +08:00
|
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
import { defineConfig } from 'vite';
|
2024-11-04 01:18:21 +08:00
|
|
|
import Icons from 'unplugin-icons/vite'
|
2024-10-27 18:29:40 +08:00
|
|
|
|
|
|
|
export default defineConfig({
|
2024-11-25 07:02:06 +08:00
|
|
|
plugins: [sveltekit(), Icons({ compiler: 'svelte' })],
|
|
|
|
server: {
|
|
|
|
proxy: {
|
|
|
|
'/article': {
|
|
|
|
target: "http://10.16.20.17:5000",
|
|
|
|
changeOrigin: true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-27 18:29:40 +08:00
|
|
|
});
|