22 lines
423 B
JavaScript
22 lines
423 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|||
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||
|
|
|
||
|
|
/** @type {import('@sveltejs/kit').Config} */
|
||
|
|
const config = {
|
||
|
|
preprocess: vitePreprocess(),
|
||
|
|
kit: {
|
||
|
|
adapter: adapter({
|
||
|
|
pages: 'build',
|
||
|
|
assets: 'build',
|
||
|
|
precompress: false,
|
||
|
|
strict: true
|
||
|
|
}),
|
||
|
|
prerender: {
|
||
|
|
handleHttpError: 'warn',
|
||
|
|
handleMissingId: 'warn'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export default config;
|