[Glitch] Fix deprecation warning in Vite
Port 00cbc1b910 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
1c749e21f8
commit
5f01e75290
1 file changed
+3
-2
@@ -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