[Glitch] Removes comment as it was breaking Vite rewriting import path
Port 0c7d619b98355b6f19124c30d5d1f90ffc23f448 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
ea35729b77
commit
1403e66c6e
@ -437,8 +437,7 @@ async function toLoadedLocale(localeString: string) {
|
||||
}
|
||||
if (!loadedLocales.has(locale)) {
|
||||
log('Locale %s not loaded, importing...', locale);
|
||||
// Ignore the INEFFECTIVE_DYNAMIC_IMPORT Vite warning, since the static import location is inside an inlined web worker.
|
||||
const { importEmojiData } = await import(/* @vite-ignore */ './loader');
|
||||
const { importEmojiData } = await import('./loader');
|
||||
await importEmojiData(locale);
|
||||
return locale;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user