svelte.config.js 341 B

12345678910111213
  1. import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
  2. export default {
  3. onwarn: (warning, handler) => {
  4. if (warning.code.startsWith('a11y-')) {
  5. return;
  6. }
  7. handler(warning);
  8. },
  9. // Consult https://svelte.dev/docs#compile-time-svelte-preprocess
  10. // for more information about preprocessors
  11. preprocess: vitePreprocess(),
  12. };