Преглед изворни кода

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

Aakansha Doshi пре 3 година
родитељ
комит
c725f84334
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/i18n.ts

+ 1 - 1
src/i18n.ts

@@ -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`
     );
   }
 };