import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';

export default defineConfig({
    plugins: [sveltekit()],
    server: {
        host: true, // listen on 0.0.0.0 so reachable from host (e.g. dev container, port forward)
    },
    preview: {
        host: true,
    },
});
