1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00

build: extract all i18n files into locales folder (#5419)

This commit is contained in:
Aakansha Doshi 2022-07-06 15:21:05 +05:30 committed by GitHub
parent 11a3380d83
commit c725f84334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,7 +86,7 @@ export const setLanguage = async (lang: Language) => {
currentLangData = {};
} else {
currentLangData = await import(
/* webpackChunkName: "i18n-[request]" */ `./locales/${currentLang.code}.json`
/* webpackChunkName: "locales/[request]" */ `./locales/${currentLang.code}.json`
);
}
};