@zohodesk/client_build_tool 0.0.22-exp.5 → 0.0.23

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.
Files changed (234) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +4 -478
  3. package/README_backup.md +0 -482
  4. package/es/allCommandsConfigs.js +15 -0
  5. package/es/commands/build/commandExecutor.js +6 -0
  6. package/es/commands/build/config.js +5 -0
  7. package/es/commands/build/optionsProcessor.js +25 -0
  8. package/es/commands/build/preProcessor.js +4 -0
  9. package/es/commands/buildEs/commandExecutor.js +29 -0
  10. package/es/commands/buildEs/config.js +5 -0
  11. package/es/commands/buildEs/preProcessor.js +9 -0
  12. package/es/commands/buildLib/commandExecutor.js +24 -0
  13. package/es/commands/buildLib/config.js +5 -0
  14. package/es/commands/buildLib/preProcessor.js +9 -0
  15. package/es/commands/mockserver/commandExecutor.js +32 -0
  16. package/es/commands/mockserver/config.js +5 -0
  17. package/es/commands/pre_process/commandExecutor.js +10 -0
  18. package/es/commands/pre_process/config.js +5 -0
  19. package/es/commands/start/commandExecutor.js +4 -0
  20. package/es/commands/start/config.js +5 -0
  21. package/es/commands/start/optionsProcessor.js +21 -0
  22. package/es/commands/start/preProcessor.js +4 -0
  23. package/es/commands/template/commandExecutor.js +17 -0
  24. package/es/commands/template/config.js +5 -0
  25. package/es/commands/version/commandExecutor.js +5 -0
  26. package/es/commands/version/config.js +5 -0
  27. package/es/commandsRouter.js +58 -0
  28. package/es/index.js +4 -0
  29. package/es/logger.js +23 -0
  30. package/es/schemas/applyValuesToSchema/index.js +25 -0
  31. package/es/schemas/applyValuesToSchema/isObject.js +3 -0
  32. package/es/schemas/applyValuesToSchema/isValid.js +7 -0
  33. package/es/schemas/cliArgsToObject.js +32 -0
  34. package/es/schemas/defaultConfigValues.js +394 -0
  35. package/es/schemas/defaultConfigValuesOnly.js +196 -0
  36. package/es/schemas/deprecatedOptionsHandler.js +60 -0
  37. package/es/schemas/getNpmVersion.js +13 -0
  38. package/es/schemas/giveDefaultValue.js +11 -0
  39. package/es/schemas/npmConfigToObject.js +27 -0
  40. package/es/schemas/readOptions.js +67 -0
  41. package/es/schemas/readOptionsForConfigFile.js +28 -0
  42. package/es/shared/babel/addDefaultPlugins.js +8 -0
  43. package/es/shared/babel/babelWebConfig.js +43 -0
  44. package/es/shared/babel/babel_plugins/removeAttributesPlugin.js +21 -0
  45. package/es/shared/babel/getBabelPlugin.js +36 -0
  46. package/es/shared/babel/runBabelForJSFile.js +15 -0
  47. package/es/shared/babel/runBabelForTsFile.js +34 -0
  48. package/es/shared/bundler/webpack/common/decidePublicPath.js +45 -0
  49. package/es/shared/bundler/webpack/common/libAlias.js +24 -0
  50. package/es/shared/bundler/webpack/common/modeUtils.js +24 -0
  51. package/es/shared/bundler/webpack/common/nameTemplates.js +95 -0
  52. package/es/shared/bundler/webpack/common/resourceBasedPublicPath.js +12 -0
  53. package/es/shared/bundler/webpack/configCustomLoaders.js +3 -0
  54. package/es/shared/bundler/webpack/cssLoaders.js +8 -0
  55. package/es/shared/bundler/webpack/custom_plugins/BundleIntegrityReport/index.js +76 -0
  56. package/es/shared/bundler/webpack/custom_plugins/CdnChangePlugin/index.js +102 -0
  57. package/es/shared/bundler/webpack/custom_plugins/CdnChangePlugin/webpackCustomJsUrlLoader.js +36 -0
  58. package/es/shared/bundler/webpack/custom_plugins/ChunkHierarchyPlugin.js +65 -0
  59. package/es/shared/bundler/webpack/custom_plugins/CssCustomOrderPlugin.js +37 -0
  60. package/es/shared/bundler/webpack/custom_plugins/CustomScriptLoadingPlugin.js +97 -0
  61. package/es/shared/bundler/webpack/custom_plugins/EFCTemplatePlugin.js +98 -0
  62. package/es/shared/bundler/webpack/custom_plugins/I18nNumericIndexPlugin/I18nNumericIndexPlugin.js +211 -0
  63. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ContributionGuide.md +11 -0
  64. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nFilesEmitPlugin.js +160 -0
  65. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nKeysIdentifer.js +66 -0
  66. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nRuntimeDealerPlugin.js +201 -0
  67. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nSplit.md +95 -0
  68. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/LocaleChunkAssetsStore.js +59 -0
  69. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ModulesI18nKeysStore.js +82 -0
  70. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/README.md +25 -0
  71. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/constants.js +13 -0
  72. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/createHash.js +15 -0
  73. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +72 -0
  74. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/index.js +23 -0
  75. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/iterateModulesInChunk.js +40 -0
  76. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/optionsHandler.js +59 -0
  77. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/pathCreator.js +15 -0
  78. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/readI18nValues.js +22 -0
  79. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateFileName.js +35 -0
  80. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateHashHelpers.js +70 -0
  81. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/collectI18nKeys.js +56 -0
  82. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/getChunkModules.js +6 -0
  83. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/hashUtils.js +10 -0
  84. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/index.js +2 -0
  85. package/es/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/propertiesUtils.js +121 -0
  86. package/es/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +85 -0
  87. package/es/shared/bundler/webpack/custom_plugins/InjectChunkGraphPlugin.js +47 -0
  88. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +20 -0
  89. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +11 -0
  90. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +26 -0
  91. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/findInitialFileNames.js +11 -0
  92. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/index.js +34 -0
  93. package/es/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/removeHashFromFileName.js +11 -0
  94. package/es/shared/bundler/webpack/custom_plugins/MurphyInjectorPlugin/index.js +79 -0
  95. package/es/shared/bundler/webpack/custom_plugins/RTLSplitPlugin.js +0 -0
  96. package/es/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +185 -0
  97. package/es/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +47 -0
  98. package/es/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtlCssPlugin.js +70 -0
  99. package/es/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtrSplit.md +34 -0
  100. package/es/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/replaceCssDirTemplate.js +14 -0
  101. package/es/shared/bundler/webpack/custom_plugins/RuntimeResourceCleanup/index.js +63 -0
  102. package/es/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/classHandling.js +9 -0
  103. package/es/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/index.js +63 -0
  104. package/es/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/selectorWeightPrefixAdder.js +43 -0
  105. package/es/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/windowsModification.js +7 -0
  106. package/es/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +104 -0
  107. package/es/shared/bundler/webpack/custom_plugins/ServiceWorkerPluginUtils.js +6 -0
  108. package/es/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +74 -0
  109. package/es/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/addHashToFilePath.js +10 -0
  110. package/es/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/index.js +36 -0
  111. package/es/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/index.js.js +35 -0
  112. package/es/shared/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js +52 -0
  113. package/es/shared/bundler/webpack/custom_plugins/VariableConversionCollector/index.js +341 -0
  114. package/es/shared/bundler/webpack/custom_plugins/custom_attribute_plugin/index.js +67 -0
  115. package/es/shared/bundler/webpack/custom_plugins/emitAsset.js +7 -0
  116. package/es/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +43 -0
  117. package/es/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +79 -0
  118. package/es/shared/bundler/webpack/defaultVendorPatternList.js +3 -0
  119. package/es/shared/bundler/webpack/devtoolConfig.js +6 -0
  120. package/es/shared/bundler/webpack/entryConfig.js +25 -0
  121. package/es/shared/bundler/webpack/externals.js +10 -0
  122. package/es/shared/bundler/webpack/getCSSLoaders.js +17 -0
  123. package/es/shared/bundler/webpack/getFilenameFromModule.js +15 -0
  124. package/es/shared/bundler/webpack/jsLoaders.js +16 -0
  125. package/es/shared/bundler/webpack/loaderConfigs/assetLoaders.js +4 -0
  126. package/es/shared/bundler/webpack/loaderConfigs/babelLoaderConfig.js +10 -0
  127. package/es/shared/bundler/webpack/loaderConfigs/checkIsPatternsMatchFilename.js +45 -0
  128. package/es/shared/bundler/webpack/loaderConfigs/configHtmlTemplateLoader.js +11 -0
  129. package/es/shared/bundler/webpack/loaderConfigs/configPostCssLoader.js +23 -0
  130. package/es/shared/bundler/webpack/loaderConfigs/configWebWorkerLoader.js +13 -0
  131. package/es/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +71 -0
  132. package/es/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +56 -0
  133. package/es/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +11 -0
  134. package/es/shared/bundler/webpack/loaderConfigs/i18nIdReplaceLoaderConfig.js +40 -0
  135. package/es/shared/bundler/webpack/loaders/i18nIdReplaceLoader.js +116 -0
  136. package/es/shared/bundler/webpack/loaders/miniCssFallBackLoader.js +5 -0
  137. package/es/shared/bundler/webpack/loaders/workerLoader.js +121 -0
  138. package/es/shared/bundler/webpack/optimizationConfig.js +42 -0
  139. package/es/shared/bundler/webpack/outputConfig.js +35 -0
  140. package/es/shared/bundler/webpack/pluginConfigs/configBundleAnalyzer.js +30 -0
  141. package/es/shared/bundler/webpack/pluginConfigs/configBundleIntegrityReport.js +27 -0
  142. package/es/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +17 -0
  143. package/es/shared/bundler/webpack/pluginConfigs/configCdnChangePlugin.js +16 -0
  144. package/es/shared/bundler/webpack/pluginConfigs/configChunkHierarchyPlugin.js +10 -0
  145. package/es/shared/bundler/webpack/pluginConfigs/configCopyPublicFolders.js +50 -0
  146. package/es/shared/bundler/webpack/pluginConfigs/configCssCustomOrderPlugin.js +8 -0
  147. package/es/shared/bundler/webpack/pluginConfigs/configCustomAttributesPlugin.js +12 -0
  148. package/es/shared/bundler/webpack/pluginConfigs/configCustomScriptLoadingStrategyPlugin.js +67 -0
  149. package/es/shared/bundler/webpack/pluginConfigs/configEFCTemplatePlugin.js +37 -0
  150. package/es/shared/bundler/webpack/pluginConfigs/configEnvVariables.js +43 -0
  151. package/es/shared/bundler/webpack/pluginConfigs/configHtmlWebpackPlugin.js +52 -0
  152. package/es/shared/bundler/webpack/pluginConfigs/configI18nNumericIndexPlugin.js +17 -0
  153. package/es/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +29 -0
  154. package/es/shared/bundler/webpack/pluginConfigs/configIgnorePlugin.js +8 -0
  155. package/es/shared/bundler/webpack/pluginConfigs/configInjectChunkGraphPlugin.js +12 -0
  156. package/es/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +36 -0
  157. package/es/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +13 -0
  158. package/es/shared/bundler/webpack/pluginConfigs/configMurphyInjectorPlugin.js +19 -0
  159. package/es/shared/bundler/webpack/pluginConfigs/configProgressPlugin.js +18 -0
  160. package/es/shared/bundler/webpack/pluginConfigs/configResourceHintsPlugin.js +11 -0
  161. package/es/shared/bundler/webpack/pluginConfigs/configRtlCssPlugin.js +19 -0
  162. package/es/shared/bundler/webpack/pluginConfigs/configRuntimeResourceCleanup.js +20 -0
  163. package/es/shared/bundler/webpack/pluginConfigs/configSelectorWeightPlugin.js +18 -0
  164. package/es/shared/bundler/webpack/pluginConfigs/configServiceWorkerPlugin.js +29 -0
  165. package/es/shared/bundler/webpack/pluginConfigs/configSourceMapPlugin.js +12 -0
  166. package/es/shared/bundler/webpack/pluginConfigs/configTPHashMappingPlugin.js +20 -0
  167. package/es/shared/bundler/webpack/pluginConfigs/configVariableConversionPlugin.js +15 -0
  168. package/es/shared/bundler/webpack/plugins.js +33 -0
  169. package/es/shared/bundler/webpack/resolvers.js +70 -0
  170. package/es/shared/bundler/webpack/splitChunksConfig.js +106 -0
  171. package/es/shared/bundler/webpack/statsConfig.js +23 -0
  172. package/es/shared/bundler/webpack/tsLoaders.js +16 -0
  173. package/es/shared/bundler/webpack/utils/index.js +8 -0
  174. package/es/shared/bundler/webpack/utils/object-manipulation.js +82 -0
  175. package/es/shared/bundler/webpack/utils/updateArrayWithDefault.js +29 -0
  176. package/es/shared/bundler/webpack/webpackBuild.js +14 -0
  177. package/es/shared/bundler/webpack/webpackConfig.js +35 -0
  178. package/es/shared/commands-utils/doBasicRequirementCheck.js +10 -0
  179. package/es/shared/commands-utils/getCliPath.js +28 -0
  180. package/es/shared/commands-utils/index.js +3 -0
  181. package/es/shared/commands-utils/log.js +4 -0
  182. package/es/shared/commands-utils/readArgsFormCommandLine.js +4 -0
  183. package/es/shared/commands-utils/readOptionFormCommandLine.js +4 -0
  184. package/es/shared/commands-utils/spawnSyncIO.js +24 -0
  185. package/es/shared/constants.js +22 -0
  186. package/es/shared/fileUtils/copyFile.js +23 -0
  187. package/es/shared/fileUtils/directoryIterator.js +12 -0
  188. package/es/shared/fileUtils/watchRun.js +96 -0
  189. package/es/shared/postcss/custom_postcss_plugins/EmptyPlugin.js +18 -0
  190. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/constants.js +2 -0
  191. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js +58 -0
  192. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/index.js +122 -0
  193. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/insertBefore.js +22 -0
  194. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js +11 -0
  195. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js +13 -0
  196. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js +17 -0
  197. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/specialCases.js +32 -0
  198. package/es/shared/postcss/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js +28 -0
  199. package/es/shared/postcss/custom_postcss_plugins/RTLSplitPlugin.js +125 -0
  200. package/es/shared/postcss/custom_postcss_plugins/SelectorReplace.js +82 -0
  201. package/es/shared/postcss/custom_postcss_plugins/ValueReplacer.js +50 -0
  202. package/es/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +318 -0
  203. package/es/shared/postcss/filterPluginsAllowedForSpecficFile.js +41 -0
  204. package/es/shared/postcss/getAllowedPostCssPlugins.js +20 -0
  205. package/es/shared/postcss/getSpecificPostCssPlugin.js +38 -0
  206. package/es/shared/postcss/runPostCssForCssFile.js +25 -0
  207. package/es/shared/pre_process/runPreProcess.js +47 -0
  208. package/es/shared/server/configWebpackDevMiddleware.js +26 -0
  209. package/es/shared/server/corsHandling.js +23 -0
  210. package/es/shared/server/getIp.js +18 -0
  211. package/es/shared/server/getServerURL.js +28 -0
  212. package/es/shared/server/httpsOptions.js +36 -0
  213. package/es/shared/server/initExpressApp.js +9 -0
  214. package/es/shared/server/initialHTMLHandling.js +92 -0
  215. package/es/shared/server/mockApiHandler.js +53 -0
  216. package/es/shared/server/mockServer.js +34 -0
  217. package/es/shared/server/serveContextFiles.js +17 -0
  218. package/es/shared/server/serverBywebpackDevMiddleware.js +21 -0
  219. package/es/shared/server/startHttpServer.js +18 -0
  220. package/es/shared/server/startHttpsServer.js +26 -0
  221. package/es/shared/server/unwanted/addHttp2Server.js +32 -0
  222. package/es/shared/server/unwanted/configWebpackDevMiddleware.js +35 -0
  223. package/es/shared/server/unwanted/mockApiSupport.js +11 -0
  224. package/es/shared/server/unwanted/websocketMockSetup.js +36 -0
  225. package/es/shared/server/urlConcat.js +35 -0
  226. package/es/shared/utils/requireLocalOrGlobal.js +57 -0
  227. package/es/shared/utils/utils.js +0 -0
  228. package/es/shared/utils/versionPrint.js +9 -0
  229. package/lib/shared/bundler/webpack/moduleConcatenationConfig.js +12 -4
  230. package/package.json +1 -1
  231. package/app/README.MD +0 -30
  232. package/app/es/test.js +0 -47
  233. package/app/package.json +0 -12
  234. package/lib/shared/bundler/webpack/custom_plugins/BundleIntegrityReport/utils.js +0 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+ # v0.0.23 (17-03-2026)
4
+
5
+ **Fix:-**
6
+ - Enabled `bugfixes: true` in `@babel/preset-env` to reduce unnecessary transpilation of default assignment, rest, and destructured function parameters.
7
+
8
+ **Feature:-**
9
+ - Added `stats.moduleConcatenation` option to enable or disable webpack's `concatenateModules` optimization in production mode. Defaults to `true`.
10
+
3
11
  # v0.0.22 (17-01-2026)
4
12
 
5
13
  **Fix:-**
package/README.md CHANGED
@@ -475,487 +475,13 @@ First Release
475
475
  - 'templates' command to create es for react library
476
476
  # Changelog and Release Notes
477
477
 
478
- # v0.0.22 (17-01-2026)
479
-
480
- **Fix:-**
481
- - The decodeUnicodeEscapes function was removed from the i18n file emit stage and moved to the getPropertiesAsJSON function.
482
- - We changed the function invocation location because an additional / was appearing in the i18n output when generating i18n files using numeric indexing.
483
-
484
- # v0.0.21 (10-01-2026)
485
-
486
- **Feature:-**
487
- - Added InjectChunkGraphPlugin and added plc and pfc function new flow
488
-
489
- # v0.0.20 (04-02-2026)
490
-
491
- **Feature:i18n Numeric Indexing Support-**
492
- - Added support for i18n numeric indexing, which replaces string-based i18n keys with numeric IDs at build time to reduce bundle size.
493
-
494
- Introduced i18nIdReplaceLoader, which parses source files and replaces i18n string keys with corresponding numeric IDs using numericMap.json.
495
-
496
- Implemented I18nNumericIndexPlugin, which reads all locale .properties files and generates locale-specific JSON chunks with numeric IDs as keys instead of string keys.
497
-
498
- Supports single-file and split-file output modes, along with manifest generation.
499
-
500
- **Feature:Enhancement: Library Conversion via Build Commands-**
501
-
502
- Enhanced build:es and build:lib commands to support multiple input folders.
503
- For eg :- cbt build:es src,assets es,target
504
-
505
- # v0.0.19 (06-01-2026)
506
-
507
- **Feature:-**
508
- - During class name generation, when the template included the file name, it was converted to lowercase by default. Support has now been added to include the file name as class names in a case-insensitive manner.
509
-
510
- ```
511
- css: {
512
- classNameOptions: {
513
- caseOnlyFilename: true
514
- }
515
- }
516
- ```
517
-
518
-
519
- **Adjustments:-**
520
- - issue in CssCustomOrderPlugin has been fixed
521
- - customChunks default pattern for styles is removed (important)
522
-
523
-
524
- # v0.0.18 (23-12-2025)(issue in CssCustomOrderPlugin)
525
-
526
- **Adjustments:-**
527
- - remove the unwanted console in the previous version
528
- - html not creation issue due to the generate html option fixed
529
-
530
- # v0.0.17 (22-12-2025) (html not creation issue) (issue in CssCustomOrderPlugin)
531
-
532
- **revert:-**
533
- - InjectChunkGraphPlugin and the pfc and plc functions were reverted due to UAT issues unrelated to our tool. Consequently, the plugin could not be included in this version. we rewriting the plc and pfc in resource hints plugins recently, it will function correctly when the new plugin is enabled,so revert this changes from this version
534
-
535
-
536
- **Feature:-**
537
- - `alias` support for `build:es` and `build:lib`
538
- - Add babel-plugin-module-resolver dependencies for library only
539
- - Modify getBabelPlugin to include module resolver with aliases
540
- - An additional entry point support has been added.
541
- - An option for HTML generation has been provided.
542
- - Support for CssCustomOrderPlugin has been added.
543
-
544
- **Adjustments:-**
545
- - ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
546
-
547
-
548
- # v0.0.16 (05-11-2025) (deprecated)
549
-
550
- **Adjustments:-**
551
- - ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
552
- - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
553
- - Disabled CSS source map generation – CSS source maps were being created when RTL split was disabled and sourceMap was enabled, causing issues. Hence, CSS source map creation has been disabled
554
- - Source map path correction – The resolving paths in source map files appeared as zohodesk-react/./src, which was incompatible with the Murphy tool. Updated it to zohodesk-react/src by adding a function to devtoolModuleFilenameTemplate in the output configuration.
555
- - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
556
-
557
- # v0.0.15 (11-10-2025) (deprecated)
558
-
559
- **Feature:-**
560
- - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
561
- For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
562
- - Purpose:
563
- To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
564
-
565
- ```
566
- chunkGraph:{
567
- enable: { value: true },
568
- fileName: ''
569
- }
570
- ```
571
-
572
- - Preload Chunk Split Visualization
573
- Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
574
- When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it
575
-
576
- rewrite the plc and pfc fucntion in resourceHints plugin and created a new plugin to inject the sub chunks of the preloaded chunks in runtime file
577
-
578
- if resourceHints not enabled plc , pfc and custom function related to this are not created
579
-
580
- ```
581
- resourceHints: {
582
- enable: true,
583
- PreloadChunkNames: [//name of chunks to be preload//]
584
- },
585
- ```
586
-
587
-
588
- # v0.0.14 (06-10-2025)
589
-
590
- **Feature:-**
591
- - Added integrity and crossorigin attributes for all the js and css files in index.html
592
-
593
- ```enableSubResourceIntegrity: true
594
- ```
595
- **Adjustments:-**
596
- - add ts-loader to parse tsx and ts files
597
-
598
- # v0.0.13 (02-09-2025)
599
-
600
- **Adjustments:-**
601
- - Source map files are created in the smap/ folder by default. However, they are also being created in the js/ folder to resolve the issue where Murphy was unable to locate them.
602
-
603
- **Feature:-**
604
- - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
605
- - To enable this support , add this in your configuration
606
-
607
- ```murphyBootstrapHtml{
608
- enable: true,
609
- chunkName: '',
610
- filePath: ''
611
- }```
612
-
613
-
614
-
615
- # v0.0.12 (14-08-2025)
616
-
617
- - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
618
-
619
- # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
620
- - remove babel-plugin-module-resolver dependencies
621
-
622
- **Adjustments:-**
623
- - Public Folder configuration is separated for development and production
624
-
625
- **Bug Fix:-**
626
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
627
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
628
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
629
- - Fixed the URL path generation issue that occurred while using context in the development setup.
630
-
631
-
632
- # v0.0.10 (12-05-2025)
633
- **Feature:-**
634
- - `alias` support for `build:es` and `build:lib`
635
- - Add babel-plugin-module-resolver dependencies
636
- - Modify getBabelPlugin to include module resolver with aliases
637
-
638
- **Bug Fix:-**
639
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
640
- - Update mockApiHandler to ensure mock function is called correctly
641
-
642
- **Change:-**
643
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
644
-
645
- ## v0.0.9
646
-
647
- **Feature:-**
648
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
649
- - to use externals, we use the following pattern in `app > externals` :
650
-
651
- For example
652
- ```
653
- externals: {
654
- <key> : <value>
655
- }
656
- ```
657
-
658
- ## v0.0.6 (4-09-2023)
659
-
660
- **Feature:-**
661
- - Generating bundle integrity report json file for the build assets only in production mode. To use this feature we need to add `stats > enable` or cli flags `enable_stats`.
662
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
663
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
664
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
665
- - added support for glob pattern for custom chunks split logic.
666
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
667
-
668
- **Change:-**
669
- - i18n name not generated issue fix.
670
- - public path not correctly set issue fix.
671
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
672
- ## v0.0.5 (6-08-2023)
673
-
674
- **Changes:--**
675
- - Typo fix in i18nRuntimeDealerPlugin.js
676
- - fixing some bugs in resolvers.js file
677
-
678
- ## v0.0.3 (1-08-2023)
679
-
680
- **Changes:--**
681
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
682
- - unwanted files deleted from build
683
-
684
- **Issue Fix:--**
685
- - The issue with the source map not being created in the build has been fixed."
686
-
687
-
688
- ## v0.0.2 (28-04-2023)
689
-
690
- **Features:-**
691
-
692
- - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
693
- - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
694
- - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
695
- - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
696
- - `enableChunkHash` renamed as `enableFileNameHashing`
697
-
698
- - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
699
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
700
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
701
- - `removePropTypes` support for remove the prop types package in the output build.
702
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
703
- - `manifestJson` default value set as false.
704
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
705
-
706
-
707
- ## v0.0.1 (18-04-2023)
708
-
709
- First Release
710
- **Features:-**
711
-
712
- - 'start' command to run react app
713
- - 'build' command to create build for react app
714
- - 'build:lib' command to create lib for react library
715
- - 'build:es' command to create es for react library
716
- - 'templates' command to create es for react library
717
- # Changelog and Release Notes
718
-
719
- # v0.0.22 (17-01-2026)
720
-
721
- **Fix:-**
722
- - The decodeUnicodeEscapes function was removed from the i18n file emit stage and moved to the getPropertiesAsJSON function.
723
- - We changed the function invocation location because an additional / was appearing in the i18n output when generating i18n files using numeric indexing.
724
-
725
- # v0.0.21 (10-01-2026)
726
-
727
- **Feature:-**
728
- - Added InjectChunkGraphPlugin and added plc and pfc function new flow
729
-
730
- # v0.0.20 (04-02-2026)
731
-
732
- **Feature:i18n Numeric Indexing Support-**
733
- - Added support for i18n numeric indexing, which replaces string-based i18n keys with numeric IDs at build time to reduce bundle size.
734
-
735
- Introduced i18nIdReplaceLoader, which parses source files and replaces i18n string keys with corresponding numeric IDs using numericMap.json.
736
-
737
- Implemented I18nNumericIndexPlugin, which reads all locale .properties files and generates locale-specific JSON chunks with numeric IDs as keys instead of string keys.
738
-
739
- Supports single-file and split-file output modes, along with manifest generation.
740
-
741
- **Feature:Enhancement: Library Conversion via Build Commands-**
742
-
743
- Enhanced build:es and build:lib commands to support multiple input folders.
744
- For eg :- cbt build:es src,assets es,target
745
-
746
- # v0.0.19 (06-01-2026)
747
-
748
- **Feature:-**
749
- - During class name generation, when the template included the file name, it was converted to lowercase by default. Support has now been added to include the file name as class names in a case-insensitive manner.
750
-
751
- ```
752
- css: {
753
- classNameOptions: {
754
- caseOnlyFilename: true
755
- }
756
- }
757
- ```
758
-
759
-
760
- **Adjustments:-**
761
- - issue in CssCustomOrderPlugin has been fixed
762
- - customChunks default pattern for styles is removed (important)
763
-
764
-
765
- # v0.0.18 (23-12-2025)(issue in CssCustomOrderPlugin)
766
-
767
- **Adjustments:-**
768
- - remove the unwanted console in the previous version
769
- - html not creation issue due to the generate html option fixed
770
-
771
- # v0.0.17 (22-12-2025) (html not creation issue) (issue in CssCustomOrderPlugin)
772
-
773
- **revert:-**
774
- - InjectChunkGraphPlugin and the pfc and plc functions were reverted due to UAT issues unrelated to our tool. Consequently, the plugin could not be included in this version. we rewriting the plc and pfc in resource hints plugins recently, it will function correctly when the new plugin is enabled,so revert this changes from this version
775
-
776
-
777
- **Feature:-**
778
- - `alias` support for `build:es` and `build:lib`
779
- - Add babel-plugin-module-resolver dependencies for library only
780
- - Modify getBabelPlugin to include module resolver with aliases
781
- - An additional entry point support has been added.
782
- - An option for HTML generation has been provided.
783
- - Support for CssCustomOrderPlugin has been added.
784
-
785
- **Adjustments:-**
786
- - ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
787
-
788
-
789
- # v0.0.16 (05-11-2025) (deprecated)
790
-
791
- **Adjustments:-**
792
- - ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
793
- - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
794
- - Disabled CSS source map generation – CSS source maps were being created when RTL split was disabled and sourceMap was enabled, causing issues. Hence, CSS source map creation has been disabled
795
- - Source map path correction – The resolving paths in source map files appeared as zohodesk-react/./src, which was incompatible with the Murphy tool. Updated it to zohodesk-react/src by adding a function to devtoolModuleFilenameTemplate in the output configuration.
796
- - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
797
-
798
- # v0.0.15 (11-10-2025) (deprecated)
799
-
800
- **Feature:-**
801
- - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
802
- For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
803
- - Purpose:
804
- To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
805
-
806
- ```
807
- chunkGraph:{
808
- enable: { value: true },
809
- fileName: ''
810
- }
811
- ```
812
-
813
- - Preload Chunk Split Visualization
814
- Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
815
- When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it
816
-
817
- rewrite the plc and pfc fucntion in resourceHints plugin and created a new plugin to inject the sub chunks of the preloaded chunks in runtime file
818
-
819
- if resourceHints not enabled plc , pfc and custom function related to this are not created
820
-
821
- ```
822
- resourceHints: {
823
- enable: true,
824
- PreloadChunkNames: [//name of chunks to be preload//]
825
- },
826
- ```
827
-
478
+ # v0.0.23 (17-03-2026)
828
479
 
829
- # v0.0.14 (06-10-2025)
480
+ **Fix:-**
481
+ - Enabled `bugfixes: true` in `@babel/preset-env` to reduce unnecessary transpilation of default assignment, rest, and destructured function parameters.
830
482
 
831
483
  **Feature:-**
832
- - Added integrity and crossorigin attributes for all the js and css files in index.html
833
-
834
- ```enableSubResourceIntegrity: true
835
- ```
836
- **Adjustments:-**
837
- - add ts-loader to parse tsx and ts files
838
-
839
- # v0.0.13 (02-09-2025)
840
-
841
- **Adjustments:-**
842
- - Source map files are created in the smap/ folder by default. However, they are also being created in the js/ folder to resolve the issue where Murphy was unable to locate them.
843
-
844
- **Feature:-**
845
- - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
846
- - To enable this support , add this in your configuration
847
-
848
- ```murphyBootstrapHtml{
849
- enable: true,
850
- chunkName: '',
851
- filePath: ''
852
- }```
853
-
854
-
855
-
856
- # v0.0.12 (14-08-2025)
857
-
858
- - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
859
-
860
- # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
861
- - remove babel-plugin-module-resolver dependencies
862
-
863
- **Adjustments:-**
864
- - Public Folder configuration is separated for development and production
865
-
866
- **Bug Fix:-**
867
- - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
868
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
869
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
870
- - Fixed the URL path generation issue that occurred while using context in the development setup.
871
-
872
-
873
- # v0.0.10 (12-05-2025)
874
- **Feature:-**
875
- - `alias` support for `build:es` and `build:lib`
876
- - Add babel-plugin-module-resolver dependencies
877
- - Modify getBabelPlugin to include module resolver with aliases
878
-
879
- **Bug Fix:-**
880
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
881
- - Update mockApiHandler to ensure mock function is called correctly
882
-
883
- **Change:-**
884
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
885
-
886
- ## v0.0.9
887
-
888
- **Feature:-**
889
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
890
- - to use externals, we use the following pattern in `app > externals` :
891
-
892
- For example
893
- ```
894
- externals: {
895
- <key> : <value>
896
- }
897
- ```
898
-
899
- ## v0.0.6 (4-09-2023)
900
-
901
- **Feature:-**
902
- - Generating bundle integrity report json file for the build assets only in production mode. To use this feature we need to add `stats > enable` or cli flags `enable_stats`.
903
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
904
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
905
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
906
- - added support for glob pattern for custom chunks split logic.
907
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
908
-
909
- **Change:-**
910
- - i18n name not generated issue fix.
911
- - public path not correctly set issue fix.
912
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
913
- ## v0.0.5 (6-08-2023)
914
-
915
- **Changes:--**
916
- - Typo fix in i18nRuntimeDealerPlugin.js
917
- - fixing some bugs in resolvers.js file
918
-
919
- ## v0.0.3 (1-08-2023)
920
-
921
- **Changes:--**
922
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
923
- - unwanted files deleted from build
924
-
925
- **Issue Fix:--**
926
- - The issue with the source map not being created in the build has been fixed."
927
-
928
-
929
- ## v0.0.2 (28-04-2023)
930
-
931
- **Features:-**
932
-
933
- - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
934
- - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
935
- - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
936
- - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
937
- - `enableChunkHash` renamed as `enableFileNameHashing`
938
-
939
- - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
940
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
941
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
942
- - `removePropTypes` support for remove the prop types package in the output build.
943
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
944
- - `manifestJson` default value set as false.
945
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
946
-
947
-
948
- ## v0.0.1 (18-04-2023)
949
-
950
- First Release
951
- **Features:-**
952
-
953
- - 'start' command to run react app
954
- - 'build' command to create build for react app
955
- - 'build:lib' command to create lib for react library
956
- - 'build:es' command to create es for react library
957
- - 'templates' command to create es for react library
958
- # Changelog and Release Notes
484
+ - Added `stats.moduleConcatenation` option to enable or disable webpack's `concatenateModules` optimization in production mode. Defaults to `true`.
959
485
 
960
486
  # v0.0.22 (17-01-2026)
961
487