You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
366 B
20 lines
366 B
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
server: {
|
|
host: '127.0.0.1',
|
|
port: 4174,
|
|
strictPort: true,
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:8082',
|
|
},
|
|
},
|
|
preview: {
|
|
host: '127.0.0.1',
|
|
port: 4175,
|
|
strictPort: true,
|
|
},
|
|
});
|