cleanup dynamic/static import warnings
This commit is contained in:
parent
2b62f96889
commit
b7ccbc6726
14 changed files with 88 additions and 61 deletions
|
|
@ -16,7 +16,7 @@ const ULTIMATE_FALLBACK_LOCALE = 'en'
|
|||
|
||||
const hasLanguageFile = (code) => languages.includes(code)
|
||||
|
||||
const languageFileMap = import.meta.glob('./*.json')
|
||||
const languageFileMap = import.meta.glob(['./*.json', '!./en.json'])
|
||||
|
||||
const loadLanguageFile = (code) => {
|
||||
const jsonName = langCodeToJsonName(code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue