mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Fix deprecation warning in Vite (#36849)
This commit is contained in:
parent
fa2cc409ce
commit
28b9e9087a
|
|
@ -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…
Reference in New Issue
Block a user