@zohodesk/client_build_tool 0.0.15-exp.9 → 0.0.16

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+ # v0.0.16 (05-11-2025)
4
+
5
+ **Adjustments:-**
6
+ - ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
7
+ - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
8
+ - 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
9
+ - 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.
10
+ - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
11
+
12
+ # v0.0.15 (11-10-2025)
13
+
14
+ **Feature:-**
15
+ - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
16
+ For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
17
+ - Purpose:
18
+ To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
19
+
20
+ ```
21
+ chunkGraph:{
22
+ enable: { value: true },
23
+ fileName: ''
24
+ }
25
+ ```
26
+
27
+ - Preload Chunk Split Visualization
28
+ Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
29
+ When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it — for example
30
+
31
+ if resourceHints not enabled plc , pfc and custom function related to this are not created
32
+
33
+ ```
34
+ resourceHints: {
35
+ enable: true,
36
+ PreloadChunkNames: [//name of chunks to be preload//]
37
+ },
38
+ ```
39
+
40
+
3
41
  # v0.0.14 (06-10-2025)
4
42
 
5
43
  **Feature:-**
package/README.md CHANGED
@@ -306,136 +306,43 @@ First Release
306
306
  - 'templates' command to create es for react library
307
307
  # Changelog and Release Notes
308
308
 
309
- # v0.0.14 (06-10-2025)
310
-
311
- **Feature:-**
312
- - Added integrity and crossorigin attributes for all the js and css files in index.html
309
+ # v0.0.16 (05-11-2025)
313
310
 
314
- ```enableSubResourceIntegrity: true
315
- ```
316
311
  **Adjustments:-**
317
- - add ts-loader to parse tsx and ts files
318
-
319
- # v0.0.13 (02-09-2025)
312
+ - ChunkHierarchyPlugin.js Added support for ConcatenatedModule modules.
313
+ - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
314
+ - 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
315
+ - 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.
316
+ - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
320
317
 
321
- **Adjustments:-**
322
- - 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.
318
+ # v0.0.15 (11-10-2025)
323
319
 
324
320
  **Feature:-**
325
- - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
326
- - To enable this support , add this in your configuration
327
-
328
- ```murphyBootstrapHtml{
329
- enable: true,
330
- chunkName: '',
331
- filePath: ''
332
- }```
333
-
334
-
335
-
336
- # v0.0.12 (14-08-2025)
337
-
338
- - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
339
-
340
- # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
341
- - remove babel-plugin-module-resolver dependencies
342
-
343
- **Adjustments:-**
344
- - Public Folder configuration is separated for development and production
321
+ - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
322
+ For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
323
+ - Purpose:
324
+ To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
345
325
 
346
- **Bug Fix:-**
347
- - 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`.
348
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
349
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
350
- - Fixed the URL path generation issue that occurred while using context in the development setup.
351
-
352
-
353
- # v0.0.10 (12-05-2025)
354
- **Feature:-**
355
- - `alias` support for `build:es` and `build:lib`
356
- - Add babel-plugin-module-resolver dependencies
357
- - Modify getBabelPlugin to include module resolver with aliases
358
-
359
- **Bug Fix:-**
360
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
361
- - Update mockApiHandler to ensure mock function is called correctly
362
-
363
- **Change:-**
364
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
365
-
366
- ## v0.0.9
367
-
368
- **Feature:-**
369
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
370
- - to use externals, we use the following pattern in `app > externals` :
371
-
372
- For example
373
326
  ```
374
- externals: {
375
- <key> : <value>
376
- }
327
+ chunkGraph:{
328
+ enable: { value: true },
329
+ fileName: ''
330
+ }
377
331
  ```
378
332
 
379
- ## v0.0.6 (4-09-2023)
380
-
381
- **Feature:-**
382
- - 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`.
383
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
384
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
385
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
386
- - added support for glob pattern for custom chunks split logic.
387
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
388
-
389
- **Change:-**
390
- - i18n name not generated issue fix.
391
- - public path not correctly set issue fix.
392
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
393
- ## v0.0.5 (6-08-2023)
394
-
395
- **Changes:--**
396
- - Typo fix in i18nRuntimeDealerPlugin.js
397
- - fixing some bugs in resolvers.js file
398
-
399
- ## v0.0.3 (1-08-2023)
400
-
401
- **Changes:--**
402
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
403
- - unwanted files deleted from build
404
-
405
- **Issue Fix:--**
406
- - The issue with the source map not being created in the build has been fixed."
407
-
408
-
409
- ## v0.0.2 (28-04-2023)
410
-
411
- **Features:-**
412
-
413
- - `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)
414
- - `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)
415
- - `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.
416
- - `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.
417
- - `enableChunkHash` renamed as `enableFileNameHashing`
418
-
419
- - `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`)
420
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
421
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
422
- - `removePropTypes` support for remove the prop types package in the output build.
423
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
424
- - `manifestJson` default value set as false.
425
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
333
+ - Preload Chunk Split Visualization
334
+ Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
335
+ When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it — for example
426
336
 
337
+ if resourceHints not enabled plc , pfc and custom function related to this are not created
427
338
 
428
- ## v0.0.1 (18-04-2023)
429
-
430
- First Release
431
- **Features:-**
339
+ ```
340
+ resourceHints: {
341
+ enable: true,
342
+ PreloadChunkNames: [//name of chunks to be preload//]
343
+ },
344
+ ```
432
345
 
433
- - 'start' command to run react app
434
- - 'build' command to create build for react app
435
- - 'build:lib' command to create lib for react library
436
- - 'build:es' command to create es for react library
437
- - 'templates' command to create es for react library
438
- # Changelog and Release Notes
439
346
 
440
347
  # v0.0.14 (06-10-2025)
441
348
 
package/README_backup.md CHANGED
@@ -294,137 +294,6 @@ For example
294
294
  - `customAttributes` support for add attributes to html, link , script tag in the output build.
295
295
 
296
296
 
297
- ## v0.0.1 (18-04-2023)
298
-
299
- First Release
300
- **Features:-**
301
-
302
- - 'start' command to run react app
303
- - 'build' command to create build for react app
304
- - 'build:lib' command to create lib for react library
305
- - 'build:es' command to create es for react library
306
- - 'templates' command to create es for react library
307
- # Changelog and Release Notes
308
-
309
- # v0.0.14 (06-10-2025)
310
-
311
- **Feature:-**
312
- - Added integrity and crossorigin attributes for all the js and css files in index.html
313
-
314
- ```enableSubResourceIntegrity: true
315
- ```
316
- **Adjustments:-**
317
- - add ts-loader to parse tsx and ts files
318
-
319
- # v0.0.13 (02-09-2025)
320
-
321
- **Adjustments:-**
322
- - 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.
323
-
324
- **Feature:-**
325
- - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
326
- - To enable this support , add this in your configuration
327
-
328
- ```murphyBootstrapHtml{
329
- enable: true,
330
- chunkName: '',
331
- filePath: ''
332
- }```
333
-
334
-
335
-
336
- # v0.0.12 (14-08-2025)
337
-
338
- - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
339
-
340
- # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
341
- - remove babel-plugin-module-resolver dependencies
342
-
343
- **Adjustments:-**
344
- - Public Folder configuration is separated for development and production
345
-
346
- **Bug Fix:-**
347
- - 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`.
348
- - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
349
- - Fixed the issue where a space in the variable name causes it to return an undefined value.
350
- - Fixed the URL path generation issue that occurred while using context in the development setup.
351
-
352
-
353
- # v0.0.10 (12-05-2025)
354
- **Feature:-**
355
- - `alias` support for `build:es` and `build:lib`
356
- - Add babel-plugin-module-resolver dependencies
357
- - Modify getBabelPlugin to include module resolver with aliases
358
-
359
- **Bug Fix:-**
360
- - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
361
- - Update mockApiHandler to ensure mock function is called correctly
362
-
363
- **Change:-**
364
- - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
365
-
366
- ## v0.0.9
367
-
368
- **Feature:-**
369
- - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
370
- - to use externals, we use the following pattern in `app > externals` :
371
-
372
- For example
373
- ```
374
- externals: {
375
- <key> : <value>
376
- }
377
- ```
378
-
379
- ## v0.0.6 (4-09-2023)
380
-
381
- **Feature:-**
382
- - 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`.
383
- - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
384
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
385
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
386
- - added support for glob pattern for custom chunks split logic.
387
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
388
-
389
- **Change:-**
390
- - i18n name not generated issue fix.
391
- - public path not correctly set issue fix.
392
- - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
393
- ## v0.0.5 (6-08-2023)
394
-
395
- **Changes:--**
396
- - Typo fix in i18nRuntimeDealerPlugin.js
397
- - fixing some bugs in resolvers.js file
398
-
399
- ## v0.0.3 (1-08-2023)
400
-
401
- **Changes:--**
402
- - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
403
- - unwanted files deleted from build
404
-
405
- **Issue Fix:--**
406
- - The issue with the source map not being created in the build has been fixed."
407
-
408
-
409
- ## v0.0.2 (28-04-2023)
410
-
411
- **Features:-**
412
-
413
- - `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)
414
- - `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)
415
- - `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.
416
- - `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.
417
- - `enableChunkHash` renamed as `enableFileNameHashing`
418
-
419
- - `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`)
420
- - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
421
- - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
422
- - `removePropTypes` support for remove the prop types package in the output build.
423
- - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
424
- - `manifestJson` default value set as false.
425
- - `customAttributes` support for add attributes to html, link , script tag in the output build.
426
-
427
-
428
297
  ## v0.0.1 (18-04-2023)
429
298
 
430
299
  First Release
@@ -7,6 +7,8 @@ exports.default = void 0;
7
7
 
8
8
  var _os = require("os");
9
9
 
10
+ var _webpack = require("webpack");
11
+
10
12
  // NOTE: Don't use 'config_file' as cli option it was reserved
11
13
  var _default = {
12
14
  context: {
@@ -360,6 +362,13 @@ var _default = {
360
362
  enableSubResourceIntegrity: {
361
363
  value: false,
362
364
  cli: 'enable_sub_resource_integrity'
365
+ },
366
+ chunkGraph: {
367
+ enable: {
368
+ value: false,
369
+ cli: 'chunk_graph_enable'
370
+ },
371
+ fileName: ''
363
372
  }
364
373
  };
365
374
  exports.default = _default;
@@ -21,13 +21,7 @@ class ChunkHierarchyPlugin {
21
21
 
22
22
  for (const chunk of compilation.chunks) {
23
23
  // skip unnamed or runtime chunks
24
- if (!chunk.name) {
25
- continue;
26
- }
27
-
28
- ;
29
-
30
- if (chunk.name.includes("runtime")) {
24
+ if (chunk.name && chunk.name.includes("runtime")) {
31
25
  continue;
32
26
  }
33
27
 
@@ -37,13 +31,33 @@ class ChunkHierarchyPlugin {
37
31
 
38
32
  for (const module of modules) {
39
33
  for (const conn of moduleGraph.getOutgoingConnections(module)) {
40
- if (conn.module && conn.module.resource) {
41
- deps.add(conn.module.resource.match(/jsapps\/supportapp.*/)?.[0]);
34
+ if (!conn.module) continue;
35
+ const mod = conn.module;
36
+
37
+ const ConcatenatedModule = require("webpack/lib/optimize/ConcatenatedModule");
38
+
39
+ if (mod instanceof ConcatenatedModule) {
40
+ for (const inner of mod.modules) {
41
+ if (inner.resource) {
42
+ const match = inner.resource.match(/(?<!node_modules\/)jsapps\/.*/);
43
+
44
+ if (match && /^(?!.*node_modules).*$/.test(match)) {
45
+ deps.add(match[0]);
46
+ }
47
+ }
48
+ }
49
+ } else {
50
+ const identifier = mod.resource || mod.identifier();
51
+ const match = identifier && identifier.match(/(?<!node_modules\/)jsapps\/.*/);
52
+
53
+ if (match && /^(?!.*node_modules).*$/.test(match)) {
54
+ deps.add(match[0]);
55
+ }
42
56
  }
43
57
  }
44
58
  }
45
59
 
46
- hierarchy[chunk.name] = Array.from(deps);
60
+ hierarchy[chunk.name || chunk.id] = Array.from(deps);
47
61
  }
48
62
 
49
63
  const outputPath = compiler.options.output.path;
@@ -33,9 +33,13 @@ class InjectChunkGraphPlugin {
33
33
  const runtimeChunk = stats.chunks.find(chunk => chunk.names?.some(n => n.includes('runtime~main')));
34
34
  const runtimeChunkName = runtimeChunk.files[0];
35
35
  const originalSource = compilation.assets[runtimeChunkName].source();
36
- const newSource = originalSource.replace('{{--preload-chunk-graph-object}}', `${JSON.stringify(chunkGraph)}`); // Update the runtime asset with injected code
36
+ const newSource = originalSource.replace('__PRELOAD_CHUNK_GRAPH__', `${JSON.stringify(chunkGraph)}`); // Update the runtime asset with injected code
37
37
 
38
38
  compilation.updateAsset(runtimeChunkName, new RawSource(newSource));
39
+
40
+ if (runtimeChunkName.includes('smap/')) {
41
+ compilation.updateAsset(runtimeChunkName.replace('smap/', ''), new RawSource(newSource));
42
+ }
39
43
  });
40
44
  });
41
45
  }
@@ -145,12 +145,12 @@ class ResourceHintsRuntimePlugin extends _webpack.RuntimeModule {
145
145
 
146
146
  // Preload a chunk (${pluginName})
147
147
  ${_webpack.RuntimeGlobals.require}.plc = function preloadChunk(chunkId) {
148
- const preloadChunkGraph = {{--preload-chunk-graph-object}}
148
+ const preloadChunkGraph = __PRELOAD_CHUNK_GRAPH__
149
149
  ${`
150
- // if (typeof preloadChunkGraph !== 'object' || !preloadChunkGraph) return;
150
+ if (typeof preloadChunkGraph !== 'object' || !preloadChunkGraph) return;
151
151
  preloadChunkGraph[chunkId].forEach(idOfAChunk => {
152
152
  ${_webpack.RuntimeGlobals.require}.e(idOfAChunk);
153
- // })
153
+ })
154
154
  // let idOfAChunk = ${_webpack.RuntimeGlobals.require}.getChunkId(chunkId);
155
155
  // chunkIds.forEach(idOfAChunk => {
156
156
  // ${_webpack.RuntimeGlobals.require}.e(idOfAChunk);
@@ -15,7 +15,7 @@ function getCssLoaderOptions(options) {
15
15
  modules: {
16
16
  getLocalIdent: (0, _cssClassNameGenerate.default)(options)
17
17
  },
18
- sourceMap: true
18
+ sourceMap: false
19
19
  };
20
20
  return cssLoaderOptions;
21
21
  }
@@ -27,7 +27,17 @@ function outputConfig(options) {
27
27
  chunkLoadingGlobal: (0, _modeUtils.getGlobalCacheStorageName)(options),
28
28
  publicPath,
29
29
  // clean: true,
30
- path: _path.default.resolve(_constants.appPath, output)
30
+ path: _path.default.resolve(_constants.appPath, output),
31
+ devtoolModuleFilenameTemplate: info => {
32
+ let resourcePath = info.resourcePath;
33
+ const namespace = info.namespace;
34
+
35
+ if (resourcePath.startsWith('./')) {
36
+ resourcePath = resourcePath.substring(2);
37
+ }
38
+
39
+ return `webpack://${namespace}/${resourcePath}`;
40
+ }
31
41
  };
32
42
 
33
43
  if (htmlTemplate.crossorigin) {
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
 
14
14
  /* eslint-disable no-use-before-define */
15
15
  function configChunkHierarchyPlugin(options) {
16
- if (options.chunkGraph.enable || (0, _modeUtils.isProductionMode)(mode)) {
16
+ if (options.chunkGraph.enable) {
17
17
  return new _ChunkHierarchyPlugin.default(options.chunkGraph.fileName);
18
18
  }
19
19
 
@@ -51,6 +51,8 @@ var _configMurphyInjectorPlugin = require("./pluginConfigs/configMurphyInjectorP
51
51
 
52
52
  var _configCustomScriptLoadingStrategyPlugin = require("./pluginConfigs/configCustomScriptLoadingStrategyPlugin");
53
53
 
54
+ var _configChunkHierarchyPlugin = require("./pluginConfigs/configChunkHierarchyPlugin");
55
+
54
56
  var _configInjectChunkGraphPlugin = require("./pluginConfigs/configInjectChunkGraphPlugin");
55
57
 
56
58
  // import { IgnorePlugin } from 'webpack';
@@ -58,5 +60,5 @@ function plugins(options) {
58
60
  const {
59
61
  webpackPlugins
60
62
  } = options;
61
- return [(0, _configEnvVariables.configEnvVariables)(options), (0, _configCustomAttributesPlugin.configCustomAttributesPlugin)(options), (0, _configTPHashMappingPlugin.configTPHashMappingPlugin)(options), (0, _configCopyPublicFolders.configCopyPublicFolders)(options), (0, _configIgnorePlugin.configIgnorePlugin)(options), (0, _configMiniCSSExtractPlugin.configMiniCSSExtractPlugin)(options), (0, _configSelectorWeightPlugin.configSelectorWeightPlugin)(options), (0, _configVariableConversionPlugin.configVariableConversionPlugin)(options), (0, _configI18nSplitPlugin.configI18nSplitPlugin)(options), (0, _configRtlCssPlugin.configRtlCssPlugin)(options), (0, _configHtmlWebpackPlugin.configHtmlWebpackPlugin)(options), (0, _configCustomScriptLoadingStrategyPlugin.configCustomScriptLoadingStrategyPlugin)(options), (0, _configCdnChangePlugin.configCdnChangePlugin)(options), (0, _configServiceWorkerPlugin.configServiceWorkerPlugin)(options), (0, _configEFCTemplatePlugin.configEFCTemplatePlugin)(options), (0, _configResourceHintsPlugin.configResourceHintsPlugin)(options), (0, _configBundleAnalyzer.configBundleAnalyzer)(options), (0, _configManifestJsonPlugin.configManifestJsonPlugin)(options), (0, _configSourceMapPlugin.configSourceMapPlugin)(options), (0, _configProgressPlugin.configProgressPlugin)(options), (0, _configBundleIntegrityReport.configBundleIntegrityReport)(options), (0, _configRuntimeResourceCleanup.configRuntimeResourceCleanup)(options), (0, _configMurphyInjectorPlugin.configMurphyInjectorPlugin)(options), (0, _configInjectChunkGraphPlugin.configInjectChunkGraphPlugin)(options), ...webpackPlugins].filter(Boolean);
63
+ return [(0, _configEnvVariables.configEnvVariables)(options), (0, _configCustomAttributesPlugin.configCustomAttributesPlugin)(options), (0, _configTPHashMappingPlugin.configTPHashMappingPlugin)(options), (0, _configCopyPublicFolders.configCopyPublicFolders)(options), (0, _configIgnorePlugin.configIgnorePlugin)(options), (0, _configMiniCSSExtractPlugin.configMiniCSSExtractPlugin)(options), (0, _configSelectorWeightPlugin.configSelectorWeightPlugin)(options), (0, _configVariableConversionPlugin.configVariableConversionPlugin)(options), (0, _configI18nSplitPlugin.configI18nSplitPlugin)(options), (0, _configRtlCssPlugin.configRtlCssPlugin)(options), (0, _configHtmlWebpackPlugin.configHtmlWebpackPlugin)(options), (0, _configCustomScriptLoadingStrategyPlugin.configCustomScriptLoadingStrategyPlugin)(options), (0, _configCdnChangePlugin.configCdnChangePlugin)(options), (0, _configServiceWorkerPlugin.configServiceWorkerPlugin)(options), (0, _configEFCTemplatePlugin.configEFCTemplatePlugin)(options), (0, _configResourceHintsPlugin.configResourceHintsPlugin)(options), (0, _configBundleAnalyzer.configBundleAnalyzer)(options), (0, _configManifestJsonPlugin.configManifestJsonPlugin)(options), (0, _configSourceMapPlugin.configSourceMapPlugin)(options), (0, _configProgressPlugin.configProgressPlugin)(options), (0, _configBundleIntegrityReport.configBundleIntegrityReport)(options), (0, _configRuntimeResourceCleanup.configRuntimeResourceCleanup)(options), (0, _configMurphyInjectorPlugin.configMurphyInjectorPlugin)(options), (0, _configChunkHierarchyPlugin.configChunkHierarchyPlugin)(options), (0, _configInjectChunkGraphPlugin.configInjectChunkGraphPlugin)(options), ...webpackPlugins].filter(Boolean);
62
64
  }
@@ -8,7 +8,6 @@ exports.tsLoaders = tsLoaders;
8
8
  var _babelLoaderConfig = require("./loaderConfigs/babelLoaderConfig");
9
9
 
10
10
  function tsLoaders(options) {
11
- console.log('testing');
12
11
  return [{
13
12
  test: /\.tsx?$/,
14
13
  exclude: /node_modules/,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.14-exp.3",
3
+ "version": "0.0.10-exp.10",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@zohodesk/client_build_tool",
9
- "version": "0.0.14-exp.3",
9
+ "version": "0.0.10-exp.10",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@babel/cli": "7.17.10",
@@ -14,7 +14,6 @@
14
14
  "@babel/preset-env": "7.18.2",
15
15
  "@babel/preset-react": "7.17.12",
16
16
  "@babel/preset-typescript": "7.23.2",
17
- "@zohodesk-private/client_dev_cert": "^1.0.6",
18
17
  "@zohodesk/client_packages_group": "1.0.2",
19
18
  "babel-loader": "9.1.2",
20
19
  "babel-plugin-module-resolver": "5.0.2",
@@ -2484,15 +2483,6 @@
2484
2483
  "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
2485
2484
  "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
2486
2485
  },
2487
- "node_modules/@zohodesk-private/client_dev_cert": {
2488
- "version": "1.0.6",
2489
- "resolved": "http://cm-npmregistry.csez.zohocorpin.com/@zohodesk-private%2fclient_dev_cert/-/client_dev_cert-1.0.6.tgz",
2490
- "integrity": "sha512-WIupOy5tTEdJdIM7c8aCkAIXDxP3EuGrncc/USE4YSEibi7uyatqqgXH1QBQUMJBUDhBQhy1F8vlLF+Bd8pvRg==",
2491
- "license": "ISC",
2492
- "bin": {
2493
- "cert_update": "src/cert-fallback.js"
2494
- }
2495
- },
2496
2486
  "node_modules/@zohodesk/client_packages_group": {
2497
2487
  "version": "1.0.2",
2498
2488
  "resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2.tgz",
@@ -9788,11 +9778,6 @@
9788
9778
  "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
9789
9779
  "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
9790
9780
  },
9791
- "@zohodesk-private/client_dev_cert": {
9792
- "version": "1.0.6",
9793
- "resolved": "http://cm-npmregistry.csez.zohocorpin.com/@zohodesk-private%2fclient_dev_cert/-/client_dev_cert-1.0.6.tgz",
9794
- "integrity": "sha512-WIupOy5tTEdJdIM7c8aCkAIXDxP3EuGrncc/USE4YSEibi7uyatqqgXH1QBQUMJBUDhBQhy1F8vlLF+Bd8pvRg=="
9795
- },
9796
9781
  "@zohodesk/client_packages_group": {
9797
9782
  "version": "1.0.2",
9798
9783
  "resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.15-exp.9",
3
+ "version": "0.0.16",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -17,8 +17,8 @@
17
17
  "test": "react-cli test"
18
18
  },
19
19
  "repository": {
20
- "type": "git",
21
- "url": "https://zgit.csez.zohocorpin.com/zohodesk/react-cli.git"
20
+ "type": "git",
21
+ "url": "https://zgit.csecz.zohocorpin.com/zohodesk/react-cli.git"
22
22
  },
23
23
  "keywords": [
24
24
  "buildtool",