Files
dsa-ranger/svelte.config.js
T
2026-05-11 22:07:17 +02:00

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;