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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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",