diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-12-31 16:09:16 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-12-31 16:09:16 +0000 |
commit | 1ed9638c04e16dea78c747a56b78dd3050507754 (patch) | |
tree | 2ef6a8130f27379d30e9a1e233b70729c78b6e8f /svelte.config.js | |
parent | 292806498e1adb71ede3c77ea32c5167d4f19929 (diff) | |
download | is-the-year-a-perfect-square-1ed9638c04e16dea78c747a56b78dd3050507754.tar is-the-year-a-perfect-square-1ed9638c04e16dea78c747a56b78dd3050507754.tar.gz is-the-year-a-perfect-square-1ed9638c04e16dea78c747a56b78dd3050507754.zip |
Refactor, use adapter-static
Diffstat (limited to 'svelte.config.js')
-rw-r--r-- | svelte.config.js | 10 |
1 files changed, 8 insertions, 2 deletions
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 + }) } }; |