mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-28 18:40:47 +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;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
const modules = import.meta.glob(
|
const modules = import.meta.glob<string>(
|
||||||
'../../../../../node_modules/emojibase-data/**/compact.json',
|
'../../../../../node_modules/emojibase-data/**/compact.json',
|
||||||
{
|
{
|
||||||
as: 'url',
|
query: '?url',
|
||||||
|
import: 'default',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user