- Migrates the site to Svelte 5 - Still generates a static site with inlined critical path CSS for the ultimate in performance - Opens up future possibilities for site growth Reviewed-on: #1 Co-authored-by: mifi <badmf@mifi.dev> Co-committed-by: mifi <badmf@mifi.dev>
13 lines
310 B
TypeScript
13 lines
310 B
TypeScript
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,
|
|
},
|
|
});
|