mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-12 23:38:20 +00:00
[Glitch] Fix deprecation warning in Vite
Port 28b9e9087a to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -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',
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user