mirror of
https://github.com/mue/mue.git
synced 2026-07-10 05:55:17 +02:00
chore(i18n): use fixed import
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { I18nLite } from '@eartharoid/i18n';
|
||||
// import { importJSON } from '@eartharoid/vite-plugin-i18n';
|
||||
|
||||
const importJSON = (...modules) => ([modules[0].locale_id, [].concat(...modules.map(mod => mod.json))]);
|
||||
import { importJSON } from '@eartharoid/vite-plugin-i18n/client';
|
||||
|
||||
export const languages = Object
|
||||
.keys(import.meta.glob('i18n/**/main.yml'))
|
||||
|
||||
Reference in New Issue
Block a user