The Svelte 5 SSG migration—we brought sexy back... or to it? Or something...
This commit is contained in:
12
vite.config.ts
Normal file
12
vite.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
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,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user