From 3690cf158f66708ff43e2db2390560d58123d615 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 27 Feb 2023 01:26:05 -0500 Subject: [PATCH] Attempt static generation --- web-frontend/svelte.config.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/web-frontend/svelte.config.js b/web-frontend/svelte.config.js index f3caa2c..9397842 100644 --- a/web-frontend/svelte.config.js +++ b/web-frontend/svelte.config.js @@ -1,4 +1,5 @@ -import adapter from '@sveltejs/adapter-auto'; +// import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-static'; /** @type {import('@sveltejs/kit').Config} */ const config = { @@ -7,11 +8,11 @@ const config = { // 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: null, - precompress: false, - strict: true, + pages: 'build', + assets: 'build', + fallback: null, + precompress: true, + strict: true }) } };