import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; export default { onwarn: (warning, handler) => { if (warning.code.startsWith('a11y-')) { return; } handler(warning); }, // Consult https://svelte.dev/docs#compile-time-svelte-preprocess // for more information about preprocessors preprocess: vitePreprocess(), compilerOptions: { compatibility: { componentApi: 4, }, }, };