23 lines
498 B
JavaScript
23 lines
498 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
compilerOptions: {
|
|
warningFilter: (warning) => warning.code !== 'a11y_label_has_associated_control'
|
|
},
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: 'index.html',
|
|
strict: false
|
|
}),
|
|
prerender: {
|
|
handleMissingId: 'ignore',
|
|
handleHttpError: 'warn'
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|