mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: silence svelte state referenced locally warning (#28263)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user