Skip to content

Commit 5047a1d

Browse files
committed
chore: Use the Node adapter in the test app
1 parent 393519b commit 5047a1d

File tree

3 files changed

+227
-11
lines changed

3 files changed

+227
-11
lines changed

test-app/package-lock.json

Lines changed: 223 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"type": "module",
1515
"devDependencies": {
16-
"@sveltejs/adapter-static": "3.0.8",
16+
"@sveltejs/adapter-node": "^5.2.12",
1717
"@sveltejs/kit": "2.17.2",
1818
"eslint-plugin-svelte": "2.46.1",
1919
"svelte": "5.20.1",

test-app/svelte.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import adapter from '@sveltejs/adapter-static'
2-
import preprocess from 'svelte-preprocess'
1+
import adapter from '@sveltejs/adapter-node'
2+
import { sveltePreprocess } from 'svelte-preprocess'
33

44
/** @type {import('@sveltejs/kit').Config} */
55
const config = {
66
// Consult https://github.com/sveltejs/svelte-preprocess
77
// for more information about preprocessors
8-
preprocess: preprocess(),
8+
preprocess: sveltePreprocess(),
99
kit: {
1010
adapter: adapter({ strict: false }),
1111
},

0 commit comments

Comments
 (0)