From b9b3d2880cf4983de30d5c6c0a9ce0c890d6ad96 Mon Sep 17 00:00:00 2001 From: ckie Date: Sun, 27 Oct 2024 04:03:09 +0200 Subject: [PATCH] chore(svelte.config): switch to adapter-node --- package.json | 2 +- svelte.config.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0859f9f..ac89b4a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/svelte.config.js b/svelte.config.js index 2d34349..836f907 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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()