change to static adapter

This commit is contained in:
2025-12-29 14:02:51 +02:00
parent 908f22faca
commit 78d2f3139e
4 changed files with 3548 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
"devDependencies": {
"@eslint/compat": "^1.2.5",
"@eslint/js": "^9.18.0",
"@sveltejs/adapter-auto": "^6.0.0",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.16.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"@tailwindcss/vite": "^4.0.0",

3539
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

2
src/routes/layout.ts Normal file
View File

@@ -0,0 +1,2 @@
export const prerender = true;
export const ssr = false;

View File

@@ -1,9 +1,11 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const config = {
preprocess: vitePreprocess(),
kit: { adapter: adapter() },
kit: {
adapter: adapter()
},
optimizeDeps: {
exclude: ['geolocation']
},