chore: silence svelte state referenced locally warning (#28263)

This commit is contained in:
Daniel Dietzler
2026-05-06 17:22:39 +02:00
committed by GitHub
parent d93ab7707e
commit f6bd514cdc
3 changed files with 10 additions and 1 deletions
+6
View File
@@ -35,6 +35,12 @@ const config = {
'chromecast-caf-sender': './node_modules/@types/chromecast-caf-sender/index.d.ts',
},
},
onwarn: (warning, handler) => {
if (warning.code === 'state_referenced_locally') {
return;
}
handler(warning);
},
};
export default config;