fix: add @sveltejs/adapter-static dependency and configure adapter options in svelte.config.js

This commit is contained in:
2025-08-26 00:53:56 +02:00
parent 78d205c320
commit 6eb5686d8b
3 changed files with 38 additions and 31 deletions

View File

@@ -11,7 +11,15 @@ 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({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
}
};