Skip to content

Commit

Permalink
Switch to SvelteKit node adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
danieladugyan committed Oct 19, 2023
1 parent 99cc78a commit 7f5b575
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@clack/prompts": "^0.7.0",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/kit": "^1.25.0",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.8.2",
Expand Down
141 changes: 131 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from "@sveltejs/adapter-auto";
import adapter from "@sveltejs/adapter-node";
import { vitePreprocess } from "@sveltejs/kit/vite";

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -8,8 +8,6 @@ const config = {
preprocess: vitePreprocess(),

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(),
},
Expand Down

0 comments on commit 7f5b575

Please sign in to comment.