i18n: Add i18next-http-backend to library loader

This commit is contained in:
Elian Doran
2024-07-20 10:07:03 +03:00
parent d14cf7c246
commit d4bf162e92
4 changed files with 39 additions and 1 deletions

View File

@@ -72,7 +72,10 @@ const MARKJS = {
]
};
const I18NEXT = { js: [ "node_modules/i18next/i18next.min.js" ] };
const I18NEXT = { js: [
"node_modules/i18next/i18next.min.js",
"node_modules/i18next-http-backend/i18nextHttpBackend.min.js"
] };
async function requireLibrary(library) {
if (library.css) {