@zohodesk/react-cli 1.1.14-exp.2 → 1.1.14-exp.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -256,7 +256,8 @@ function downloadScriptTagForI18nDynamicChunks(chunkName = '', language = '') {
256
256
  }
257
257
  };
258
258
  downloadScriptTagForI18nDynamicChunks();
259
- ${mainTemplate.requireFn}.changeLanguage = function changeLanguage(language) {
259
+ ${mainTemplate.requireFn}.changeLanguage = function changeLanguage(language) {
260
+ window.updateLanguage(language);
260
261
  window.userLangCode=language;
261
262
  Object.keys(installedI18nChunks).map(chunks => {
262
263
  if (chunks !== './runtime~main' && installedI18nChunks[chunks] == 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "1.1.14-exp.2",
3
+ "version": "1.1.14-exp.3",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",