From 1ed9638c04e16dea78c747a56b78dd3050507754 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Tue, 31 Dec 2024 21:39:16 +0530 Subject: Refactor, use adapter-static --- svelte.config.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'svelte.config.js') diff --git a/svelte.config.js b/svelte.config.js index 1295460..ab2813c 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ @@ -11,7 +11,13 @@ const config = { // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. // If your environment is not supported, or you settled on a specific environment, switch out the adapter. // See https://svelte.dev/docs/kit/adapters for more information about adapters. - adapter: adapter() + adapter: adapter({ + pages: 'build', + assets: 'build', + fallback: undefined, + precompress: false, + strict: true + }) } }; -- cgit v1.2.3-57-g22cb