Fix deprecation warning in Vite (#36849)

pull/36851/head
Echo 4 months ago committed by GitHub
parent f303f3458d
commit 00cbc1b910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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',
},
);

Loading…
Cancel
Save