+{/if}
diff --git a/svelte.config.js b/svelte.config.js
index 1295460..70313be 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -12,6 +12,16 @@ const config = {
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
+ },
+
+ compilerOptions: {
+ warningFilter: (warning) => {
+ const ignoreCodes = [
+ 'a11y_no_static_element_interactions',
+ 'a11y_click_events_have_key_events'
+ ];
+ return !ignoreCodes.includes(warning.code);
+ }
}
};