From 044d68d54341ceb05c5e81011da8ef2929aefcb3 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 2 Jan 2024 01:32:59 -0700 Subject: [PATCH] made static --- svelte.config.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 348fa32..bdaf16a 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'; /** @type {import('@sveltejs/kit').Config} */ const config = { @@ -6,7 +6,13 @@ 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() + adapter: adapter({ + pages: 'build', + assets: 'build', + fallback: undefined, + precompress: false, + strict: true + }) } };