adapter swap

This commit is contained in:
user
2025-10-30 19:36:22 +02:00
parent bf40976e40
commit d0480782eb
4 changed files with 4 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
FROM oven/bun:1.1.38 FROM oven/bun:1.2.23
WORKDIR /app WORKDIR /app

BIN
bun.lockb

Binary file not shown.

View File

@@ -13,7 +13,6 @@
}, },
"devDependencies": { "devDependencies": {
"@iconify/json": "^2.2.292", "@iconify/json": "^2.2.292",
"@sveltejs/adapter-static": "^3.0.9",
"@sveltejs/kit": "^2.0.0", "@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.0",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
@@ -23,6 +22,7 @@
"prettier": "^3.4.2", "prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2", "prettier-plugin-svelte": "^3.3.2",
"svelte": "^5.0.0", "svelte": "^5.0.0",
"svelte-adapter-bun": "^1.0.1",
"svelte-check": "^4.0.0", "svelte-check": "^4.0.0",
"tailwind-merge": "^2.6.0", "tailwind-merge": "^2.6.0",
"tailwind-variants": "^0.3.0", "tailwind-variants": "^0.3.0",

View File

@@ -1,4 +1,4 @@
import adapter from "@sveltejs/adapter-static"; import adapter from "svelte-adapter-bun";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
@@ -12,11 +12,7 @@ const config = {
// If your environment is not supported, or you settled on a specific environment, switch out the adapter. // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters. // See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter({ adapter: adapter({
pages: "build", out: "build",
assets: "build",
fallback: undefined,
precompress: false,
strict: true,
}), }),
csrf: { csrf: {
checkOrigin: false, checkOrigin: false,