chore(svelte.config): switch to adapter-node

This commit is contained in:
mei (ckie) 2024-10-27 04:03:09 +02:00
parent 4de208543c
commit b9b3d2880c
Signed by: ckie
GPG key ID: 13E79449C0525215
2 changed files with 2 additions and 5 deletions

View file

@ -13,7 +13,7 @@
"prepare": "husky"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-node": "^5.2.9",
"@sveltejs/enhanced-img": "^0.3.9",
"@sveltejs/kit": "^2.5.27",
"@sveltejs/vite-plugin-svelte": "^4.0.0",

View file

@ -1,12 +1,9 @@
import adapter from "@sveltejs/adapter-auto";
import adapter from "@sveltejs/adapter-node";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
},
preprocess: vitePreprocess()