2024-06-16 14:21:26 +01:00
|
|
|
import adapter from '@sveltejs/adapter-static';
|
2024-06-13 10:32:17 +01:00
|
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
|
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
|
|
// for more information about preprocessors
|
|
|
|
preprocess: vitePreprocess(),
|
|
|
|
|
|
|
|
kit: {
|
2024-06-24 15:23:55 +01:00
|
|
|
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
|
|
|
|
}),
|
|
|
|
alias: {
|
|
|
|
$components: 'src/components'
|
|
|
|
}
|
|
|
|
}
|
2024-06-13 10:32:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|