switch to using node adapter
This commit is contained in:
parent
e0c05a7768
commit
6ae3022d34
|
@ -1,3 +0,0 @@
|
||||||
[build]
|
|
||||||
command = "npm run build"
|
|
||||||
publish = "build"
|
|
|
@ -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']
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue