Removes comment as it was breaking Vite rewriting import path (#39558)
This commit is contained in:
parent
e38abc3801
commit
903594f70c
@ -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