switch to using node adapter

This commit is contained in:
Silas 2024-06-04 00:56:15 -04:00
parent e0c05a7768
commit 6ae3022d34
Failed to generate hash of commit
2 changed files with 2 additions and 8 deletions

View File

@ -1,3 +0,0 @@
[build]
command = "npm run build"
publish = "build"

View File

@ -1,7 +1,6 @@
// import adapter from '@sveltejs/adapter-auto'; import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { mdsvex } from 'mdsvex'; import { mdsvex } from 'mdsvex';
import adapter from '@sveltejs/adapter-netlify';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {
@ -17,9 +16,7 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. // 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. // 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. // See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter({ adapter: adapter()
split: true
})
}, },
extensions: ['.svelte', '.md'] extensions: ['.svelte', '.md']
}; };