From 35cee099b5697b71f7b91c4e57ef38550f1c3d5a Mon Sep 17 00:00:00 2001 From: JUB_Yoush Date: Tue, 23 Apr 2024 15:26:36 -0400 Subject: [PATCH] netflify --- svelte.config.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 689f581..5b15c45 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,5 +1,5 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; -import adapter from '@sveltejs/adapter-static'; +import adapter from '@sveltejs/adapter-auto'; import {mdsvex} from 'mdsvex' import sveltePreprocess from 'svelte-preprocess'; @@ -9,16 +9,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: adapter({ - pages:'build', - assets:'build', - fallback: 'app.html', - precompress: false, - strict:true - }), - paths: { - base: process.argv.includes('dev') ? '' : process.env.BASE_PATH - } + adapter: adapter(), }, extensions:['.svelte','.md'],