mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 05:04:22 +00:00
The eager `import.meta.glob` was statically pulling all 13 locale JSON files into the main bundle, defeating the sibling lazy glob and emitting INEFFECTIVE_DYNAMIC_IMPORT warnings. Statically import only the en-US fallback, lazy-load the rest, and await `readyI18n()` in each entry before mount so the first paint still uses the active locale. |
||
|---|---|---|
| .. | ||
| api-docs.js | ||
| inbounds.js | ||
| index.js | ||
| login.js | ||
| nodes.js | ||
| settings.js | ||
| subpage.js | ||
| xray.js | ||