Skip to content

Commit

Permalink
netflify
Browse files Browse the repository at this point in the history
  • Loading branch information
JUB-Yoush committed Apr 23, 2024
1 parent 5db5b0f commit 35cee09
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -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'],

Expand Down

0 comments on commit 35cee09

Please sign in to comment.