14 lines
393 B
JavaScript
14 lines
393 B
JavaScript
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
|
|
|
|
export default {
|
|
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
// Disable accessibility warnings
|
|
onwarn: (warning, handler) => {
|
|
if (warning.code.includes("a11y")) return;
|
|
handler(warning);
|
|
},
|
|
}
|