Configure website for static rendering

This commit is contained in:
2023-11-02 11:08:58 +01:00
parent e04c6a5079
commit 6307ec28d8
6 changed files with 25 additions and 3 deletions

View File

@ -2,5 +2,12 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()]
base: '',
root: 'src',
plugins: [sveltekit()],
build: {
outDir: './dist',
emptyOutDir: true,
}
});