change adapter

This commit is contained in:
radiden 2024-08-07 18:28:39 +02:00
parent 0b8c12f35c
commit 92a2103606
No known key found for this signature in database
GPG Key ID: 945CABB20131C3F0
3 changed files with 1786 additions and 1898 deletions

View File

@ -13,7 +13,6 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-cloudflare": "^4.7.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^9.6.0",
@ -29,5 +28,8 @@
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3"
},
"type": "module"
"type": "module",
"dependencies": {
"@sveltejs/adapter-node": "^5.2.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
import adapterCloudflare from '@sveltejs/adapter-cloudflare'
import adapterNode from '@sveltejs/adapter-node'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
/** @type {import('@sveltejs/kit').Config} */
@ -11,7 +11,7 @@ const config = {
// 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: adapterCloudflare()
adapter: adapterNode()
}
}