Fix deprecation warning in Vite (#36849)

This commit is contained in:
Echo 2025-11-12 15:25:25 +01:00 committed by GitHub
parent f303f3458d
commit 00cbc1b910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,10 +80,11 @@ async function fetchAndCheckEtag<ResultType extends object[]>(
return data;
}
const modules = import.meta.glob(
const modules = import.meta.glob<string>(
'../../../../../node_modules/emojibase-data/**/compact.json',
{
as: 'url',
query: '?url',
import: 'default',
},
);