fastapi-svelte-template/frontend/vite.config.ts

18 lines
323 B
TypeScript
Raw Normal View History

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
envPrefix: 'PUBLIC_',
plugins: [sveltekit()],
server: {
host: '0.0.0.0',
port: 3000,
strictPort: true,
},
preview: {
host: '0.0.0.0',
port: 3000,
strictPort: true,
},
});