Attempt static generation

This commit is contained in:
Austen Adler 2023-02-27 01:26:05 -05:00
parent 96c319092e
commit 3690cf158f

View File

@ -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
})
}
};