change to static adapter
This commit is contained in:
@@ -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
3539
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
2
src/routes/layout.ts
Normal file
2
src/routes/layout.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const prerender = true;
|
||||
export const ssr = false;
|
||||
@@ -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']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user