build: extract all i18n files into locales folder (#5419)
This commit is contained in:
parent
11a3380d83
commit
c725f84334
@ -86,7 +86,7 @@ export const setLanguage = async (lang: Language) => {
|
|||||||
currentLangData = {};
|
currentLangData = {};
|
||||||
} else {
|
} else {
|
||||||
currentLangData = await import(
|
currentLangData = await import(
|
||||||
/* webpackChunkName: "i18n-[request]" */ `./locales/${currentLang.code}.json`
|
/* webpackChunkName: "locales/[request]" */ `./locales/${currentLang.code}.json`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user