@zohodesk/client_build_tool 0.0.16-exp.9 → 0.0.17
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 +14 -0
- package/README.md +6 -499
- package/README_backup.md +0 -507
- package/lib/schemas/defaultConfigValues.js +4 -0
- package/lib/shared/bundler/webpack/custom_plugins/CssCustomOrderPlugin.js +47 -0
- package/lib/shared/bundler/webpack/pluginConfigs/configCssCustomOrderPlugin.js +18 -0
- package/lib/shared/bundler/webpack/plugins.js +3 -1
- package/npm-shrinkwrap.json +17 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog and Release Notes
|
|
2
2
|
|
|
3
|
+
# v0.0.17 (22-12-2025)
|
|
4
|
+
|
|
5
|
+
**Feature:-**
|
|
6
|
+
- `alias` support for `build:es` and `build:lib`
|
|
7
|
+
- Add babel-plugin-module-resolver dependencies for library only
|
|
8
|
+
- Modify getBabelPlugin to include module resolver with aliases
|
|
9
|
+
- An additional entry point support has been added.
|
|
10
|
+
- An option for HTML generation has been provided.
|
|
11
|
+
- Support for CssCustomOrderPlugin has been added.
|
|
12
|
+
|
|
13
|
+
**Adjustments:-**
|
|
14
|
+
- ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
|
|
15
|
+
|
|
16
|
+
|
|
3
17
|
# v0.0.16 (05-11-2025)
|
|
4
18
|
|
|
5
19
|
**Adjustments:-**
|
package/README.md
CHANGED
|
@@ -475,512 +475,19 @@ First Release
|
|
|
475
475
|
- 'templates' command to create es for react library
|
|
476
476
|
# Changelog and Release Notes
|
|
477
477
|
|
|
478
|
-
# v0.0.
|
|
479
|
-
|
|
480
|
-
**Adjustments:-**
|
|
481
|
-
- ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
|
|
482
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
483
|
-
- 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
|
|
484
|
-
- 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.
|
|
485
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
486
|
-
|
|
487
|
-
# v0.0.15 (11-10-2025)
|
|
478
|
+
# v0.0.17 (22-12-2025)
|
|
488
479
|
|
|
489
|
-
**Feature:-**
|
|
490
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
491
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
492
|
-
- Purpose:
|
|
493
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
494
|
-
|
|
495
|
-
```
|
|
496
|
-
chunkGraph:{
|
|
497
|
-
enable: { value: true },
|
|
498
|
-
fileName: ''
|
|
499
|
-
}
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
- Preload Chunk Split Visualization
|
|
503
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
504
|
-
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
|
|
505
|
-
|
|
506
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
507
|
-
|
|
508
|
-
```
|
|
509
|
-
resourceHints: {
|
|
510
|
-
enable: true,
|
|
511
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
512
|
-
},
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
# v0.0.14 (06-10-2025)
|
|
517
|
-
|
|
518
|
-
**Feature:-**
|
|
519
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
520
|
-
|
|
521
|
-
```enableSubResourceIntegrity: true
|
|
522
|
-
```
|
|
523
|
-
**Adjustments:-**
|
|
524
|
-
- add ts-loader to parse tsx and ts files
|
|
525
|
-
|
|
526
|
-
# v0.0.13 (02-09-2025)
|
|
527
|
-
|
|
528
|
-
**Adjustments:-**
|
|
529
|
-
- 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.
|
|
530
|
-
|
|
531
|
-
**Feature:-**
|
|
532
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
533
|
-
- To enable this support , add this in your configuration
|
|
534
|
-
|
|
535
|
-
```murphyBootstrapHtml{
|
|
536
|
-
enable: true,
|
|
537
|
-
chunkName: '',
|
|
538
|
-
filePath: ''
|
|
539
|
-
}```
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
# v0.0.12 (14-08-2025)
|
|
544
|
-
|
|
545
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
546
|
-
|
|
547
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
548
|
-
- remove babel-plugin-module-resolver dependencies
|
|
549
|
-
|
|
550
|
-
**Adjustments:-**
|
|
551
|
-
- Public Folder configuration is separated for development and production
|
|
552
|
-
|
|
553
|
-
**Bug Fix:-**
|
|
554
|
-
- 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`.
|
|
555
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
556
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
557
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
# v0.0.10 (12-05-2025)
|
|
561
480
|
**Feature:-**
|
|
562
481
|
- `alias` support for `build:es` and `build:lib`
|
|
563
|
-
- Add babel-plugin-module-resolver dependencies
|
|
482
|
+
- Add babel-plugin-module-resolver dependencies for library only
|
|
564
483
|
- Modify getBabelPlugin to include module resolver with aliases
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
-
|
|
568
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
569
|
-
|
|
570
|
-
**Change:-**
|
|
571
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
572
|
-
|
|
573
|
-
## v0.0.9
|
|
574
|
-
|
|
575
|
-
**Feature:-**
|
|
576
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
577
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
578
|
-
|
|
579
|
-
For example
|
|
580
|
-
```
|
|
581
|
-
externals: {
|
|
582
|
-
<key> : <value>
|
|
583
|
-
}
|
|
584
|
-
```
|
|
585
|
-
|
|
586
|
-
## v0.0.6 (4-09-2023)
|
|
587
|
-
|
|
588
|
-
**Feature:-**
|
|
589
|
-
- 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`.
|
|
590
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
591
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
592
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
593
|
-
- added support for glob pattern for custom chunks split logic.
|
|
594
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
595
|
-
|
|
596
|
-
**Change:-**
|
|
597
|
-
- i18n name not generated issue fix.
|
|
598
|
-
- public path not correctly set issue fix.
|
|
599
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
600
|
-
## v0.0.5 (6-08-2023)
|
|
601
|
-
|
|
602
|
-
**Changes:--**
|
|
603
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
604
|
-
- fixing some bugs in resolvers.js file
|
|
605
|
-
|
|
606
|
-
## v0.0.3 (1-08-2023)
|
|
607
|
-
|
|
608
|
-
**Changes:--**
|
|
609
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
610
|
-
- unwanted files deleted from build
|
|
611
|
-
|
|
612
|
-
**Issue Fix:--**
|
|
613
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
## v0.0.2 (28-04-2023)
|
|
617
|
-
|
|
618
|
-
**Features:-**
|
|
619
|
-
|
|
620
|
-
- `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)
|
|
621
|
-
- `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)
|
|
622
|
-
- `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.
|
|
623
|
-
- `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.
|
|
624
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
625
|
-
|
|
626
|
-
- `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`)
|
|
627
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
628
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
629
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
630
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
631
|
-
- `manifestJson` default value set as false.
|
|
632
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
## v0.0.1 (18-04-2023)
|
|
636
|
-
|
|
637
|
-
First Release
|
|
638
|
-
**Features:-**
|
|
639
|
-
|
|
640
|
-
- 'start' command to run react app
|
|
641
|
-
- 'build' command to create build for react app
|
|
642
|
-
- 'build:lib' command to create lib for react library
|
|
643
|
-
- 'build:es' command to create es for react library
|
|
644
|
-
- 'templates' command to create es for react library
|
|
645
|
-
# Changelog and Release Notes
|
|
646
|
-
|
|
647
|
-
# v0.0.16 (05-11-2025)
|
|
484
|
+
- An additional entry point support has been added.
|
|
485
|
+
- An option for HTML generation has been provided.
|
|
486
|
+
- Support for CssCustomOrderPlugin has been added.
|
|
648
487
|
|
|
649
488
|
**Adjustments:-**
|
|
650
|
-
- ChunkHierarchyPlugin.js –
|
|
651
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
652
|
-
- 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
|
|
653
|
-
- 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.
|
|
654
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
655
|
-
|
|
656
|
-
# v0.0.15 (11-10-2025)
|
|
657
|
-
|
|
658
|
-
**Feature:-**
|
|
659
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
660
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
661
|
-
- Purpose:
|
|
662
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
663
|
-
|
|
664
|
-
```
|
|
665
|
-
chunkGraph:{
|
|
666
|
-
enable: { value: true },
|
|
667
|
-
fileName: ''
|
|
668
|
-
}
|
|
669
|
-
```
|
|
670
|
-
|
|
671
|
-
- Preload Chunk Split Visualization
|
|
672
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
673
|
-
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
|
|
674
|
-
|
|
675
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
676
|
-
|
|
677
|
-
```
|
|
678
|
-
resourceHints: {
|
|
679
|
-
enable: true,
|
|
680
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
681
|
-
},
|
|
682
|
-
```
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
# v0.0.14 (06-10-2025)
|
|
686
|
-
|
|
687
|
-
**Feature:-**
|
|
688
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
689
|
-
|
|
690
|
-
```enableSubResourceIntegrity: true
|
|
691
|
-
```
|
|
692
|
-
**Adjustments:-**
|
|
693
|
-
- add ts-loader to parse tsx and ts files
|
|
694
|
-
|
|
695
|
-
# v0.0.13 (02-09-2025)
|
|
696
|
-
|
|
697
|
-
**Adjustments:-**
|
|
698
|
-
- 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.
|
|
699
|
-
|
|
700
|
-
**Feature:-**
|
|
701
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
702
|
-
- To enable this support , add this in your configuration
|
|
703
|
-
|
|
704
|
-
```murphyBootstrapHtml{
|
|
705
|
-
enable: true,
|
|
706
|
-
chunkName: '',
|
|
707
|
-
filePath: ''
|
|
708
|
-
}```
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
# v0.0.12 (14-08-2025)
|
|
713
|
-
|
|
714
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
715
|
-
|
|
716
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
717
|
-
- remove babel-plugin-module-resolver dependencies
|
|
718
|
-
|
|
719
|
-
**Adjustments:-**
|
|
720
|
-
- Public Folder configuration is separated for development and production
|
|
721
|
-
|
|
722
|
-
**Bug Fix:-**
|
|
723
|
-
- 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`.
|
|
724
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
725
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
726
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
# v0.0.10 (12-05-2025)
|
|
730
|
-
**Feature:-**
|
|
731
|
-
- `alias` support for `build:es` and `build:lib`
|
|
732
|
-
- Add babel-plugin-module-resolver dependencies
|
|
733
|
-
- Modify getBabelPlugin to include module resolver with aliases
|
|
489
|
+
- ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
|
|
734
490
|
|
|
735
|
-
**Bug Fix:-**
|
|
736
|
-
- Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
|
|
737
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
738
|
-
|
|
739
|
-
**Change:-**
|
|
740
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
741
|
-
|
|
742
|
-
## v0.0.9
|
|
743
|
-
|
|
744
|
-
**Feature:-**
|
|
745
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
746
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
747
|
-
|
|
748
|
-
For example
|
|
749
|
-
```
|
|
750
|
-
externals: {
|
|
751
|
-
<key> : <value>
|
|
752
|
-
}
|
|
753
|
-
```
|
|
754
|
-
|
|
755
|
-
## v0.0.6 (4-09-2023)
|
|
756
|
-
|
|
757
|
-
**Feature:-**
|
|
758
|
-
- 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`.
|
|
759
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
760
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
761
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
762
|
-
- added support for glob pattern for custom chunks split logic.
|
|
763
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
764
|
-
|
|
765
|
-
**Change:-**
|
|
766
|
-
- i18n name not generated issue fix.
|
|
767
|
-
- public path not correctly set issue fix.
|
|
768
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
769
|
-
## v0.0.5 (6-08-2023)
|
|
770
|
-
|
|
771
|
-
**Changes:--**
|
|
772
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
773
|
-
- fixing some bugs in resolvers.js file
|
|
774
|
-
|
|
775
|
-
## v0.0.3 (1-08-2023)
|
|
776
|
-
|
|
777
|
-
**Changes:--**
|
|
778
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
779
|
-
- unwanted files deleted from build
|
|
780
|
-
|
|
781
|
-
**Issue Fix:--**
|
|
782
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
## v0.0.2 (28-04-2023)
|
|
786
|
-
|
|
787
|
-
**Features:-**
|
|
788
|
-
|
|
789
|
-
- `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)
|
|
790
|
-
- `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)
|
|
791
|
-
- `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.
|
|
792
|
-
- `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.
|
|
793
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
794
|
-
|
|
795
|
-
- `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`)
|
|
796
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
797
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
798
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
799
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
800
|
-
- `manifestJson` default value set as false.
|
|
801
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
## v0.0.1 (18-04-2023)
|
|
805
|
-
|
|
806
|
-
First Release
|
|
807
|
-
**Features:-**
|
|
808
|
-
|
|
809
|
-
- 'start' command to run react app
|
|
810
|
-
- 'build' command to create build for react app
|
|
811
|
-
- 'build:lib' command to create lib for react library
|
|
812
|
-
- 'build:es' command to create es for react library
|
|
813
|
-
- 'templates' command to create es for react library
|
|
814
|
-
# Changelog and Release Notes
|
|
815
|
-
|
|
816
|
-
# v0.0.16 (05-11-2025)
|
|
817
|
-
|
|
818
|
-
**Adjustments:-**
|
|
819
|
-
- ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
|
|
820
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
821
|
-
- 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
|
|
822
|
-
- 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.
|
|
823
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
824
|
-
|
|
825
|
-
# v0.0.15 (11-10-2025)
|
|
826
|
-
|
|
827
|
-
**Feature:-**
|
|
828
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
829
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
830
|
-
- Purpose:
|
|
831
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
832
|
-
|
|
833
|
-
```
|
|
834
|
-
chunkGraph:{
|
|
835
|
-
enable: { value: true },
|
|
836
|
-
fileName: ''
|
|
837
|
-
}
|
|
838
|
-
```
|
|
839
|
-
|
|
840
|
-
- Preload Chunk Split Visualization
|
|
841
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
842
|
-
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
|
|
843
|
-
|
|
844
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
845
|
-
|
|
846
|
-
```
|
|
847
|
-
resourceHints: {
|
|
848
|
-
enable: true,
|
|
849
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
850
|
-
},
|
|
851
|
-
```
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
# v0.0.14 (06-10-2025)
|
|
855
|
-
|
|
856
|
-
**Feature:-**
|
|
857
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
858
|
-
|
|
859
|
-
```enableSubResourceIntegrity: true
|
|
860
|
-
```
|
|
861
|
-
**Adjustments:-**
|
|
862
|
-
- add ts-loader to parse tsx and ts files
|
|
863
|
-
|
|
864
|
-
# v0.0.13 (02-09-2025)
|
|
865
|
-
|
|
866
|
-
**Adjustments:-**
|
|
867
|
-
- 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.
|
|
868
|
-
|
|
869
|
-
**Feature:-**
|
|
870
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
871
|
-
- To enable this support , add this in your configuration
|
|
872
|
-
|
|
873
|
-
```murphyBootstrapHtml{
|
|
874
|
-
enable: true,
|
|
875
|
-
chunkName: '',
|
|
876
|
-
filePath: ''
|
|
877
|
-
}```
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
# v0.0.12 (14-08-2025)
|
|
882
|
-
|
|
883
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
884
|
-
|
|
885
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
886
|
-
- remove babel-plugin-module-resolver dependencies
|
|
887
|
-
|
|
888
|
-
**Adjustments:-**
|
|
889
|
-
- Public Folder configuration is separated for development and production
|
|
890
|
-
|
|
891
|
-
**Bug Fix:-**
|
|
892
|
-
- 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`.
|
|
893
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
894
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
895
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
# v0.0.10 (12-05-2025)
|
|
899
|
-
**Feature:-**
|
|
900
|
-
- `alias` support for `build:es` and `build:lib`
|
|
901
|
-
- Add babel-plugin-module-resolver dependencies
|
|
902
|
-
- Modify getBabelPlugin to include module resolver with aliases
|
|
903
|
-
|
|
904
|
-
**Bug Fix:-**
|
|
905
|
-
- Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
|
|
906
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
907
|
-
|
|
908
|
-
**Change:-**
|
|
909
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
910
|
-
|
|
911
|
-
## v0.0.9
|
|
912
|
-
|
|
913
|
-
**Feature:-**
|
|
914
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
915
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
916
|
-
|
|
917
|
-
For example
|
|
918
|
-
```
|
|
919
|
-
externals: {
|
|
920
|
-
<key> : <value>
|
|
921
|
-
}
|
|
922
|
-
```
|
|
923
|
-
|
|
924
|
-
## v0.0.6 (4-09-2023)
|
|
925
|
-
|
|
926
|
-
**Feature:-**
|
|
927
|
-
- 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`.
|
|
928
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
929
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
930
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
931
|
-
- added support for glob pattern for custom chunks split logic.
|
|
932
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
933
|
-
|
|
934
|
-
**Change:-**
|
|
935
|
-
- i18n name not generated issue fix.
|
|
936
|
-
- public path not correctly set issue fix.
|
|
937
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
938
|
-
## v0.0.5 (6-08-2023)
|
|
939
|
-
|
|
940
|
-
**Changes:--**
|
|
941
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
942
|
-
- fixing some bugs in resolvers.js file
|
|
943
|
-
|
|
944
|
-
## v0.0.3 (1-08-2023)
|
|
945
|
-
|
|
946
|
-
**Changes:--**
|
|
947
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
948
|
-
- unwanted files deleted from build
|
|
949
|
-
|
|
950
|
-
**Issue Fix:--**
|
|
951
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
## v0.0.2 (28-04-2023)
|
|
955
|
-
|
|
956
|
-
**Features:-**
|
|
957
|
-
|
|
958
|
-
- `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)
|
|
959
|
-
- `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)
|
|
960
|
-
- `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.
|
|
961
|
-
- `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.
|
|
962
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
963
|
-
|
|
964
|
-
- `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`)
|
|
965
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
966
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
967
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
968
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
969
|
-
- `manifestJson` default value set as false.
|
|
970
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
## v0.0.1 (18-04-2023)
|
|
974
|
-
|
|
975
|
-
First Release
|
|
976
|
-
**Features:-**
|
|
977
|
-
|
|
978
|
-
- 'start' command to run react app
|
|
979
|
-
- 'build' command to create build for react app
|
|
980
|
-
- 'build:lib' command to create lib for react library
|
|
981
|
-
- 'build:es' command to create es for react library
|
|
982
|
-
- 'templates' command to create es for react library
|
|
983
|
-
# Changelog and Release Notes
|
|
984
491
|
|
|
985
492
|
# v0.0.16 (05-11-2025)
|
|
986
493
|
|
package/README_backup.md
CHANGED
|
@@ -463,513 +463,6 @@ For example
|
|
|
463
463
|
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
464
464
|
|
|
465
465
|
|
|
466
|
-
## v0.0.1 (18-04-2023)
|
|
467
|
-
|
|
468
|
-
First Release
|
|
469
|
-
**Features:-**
|
|
470
|
-
|
|
471
|
-
- 'start' command to run react app
|
|
472
|
-
- 'build' command to create build for react app
|
|
473
|
-
- 'build:lib' command to create lib for react library
|
|
474
|
-
- 'build:es' command to create es for react library
|
|
475
|
-
- 'templates' command to create es for react library
|
|
476
|
-
# Changelog and Release Notes
|
|
477
|
-
|
|
478
|
-
# v0.0.16 (05-11-2025)
|
|
479
|
-
|
|
480
|
-
**Adjustments:-**
|
|
481
|
-
- ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
|
|
482
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
483
|
-
- 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
|
|
484
|
-
- 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.
|
|
485
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
486
|
-
|
|
487
|
-
# v0.0.15 (11-10-2025)
|
|
488
|
-
|
|
489
|
-
**Feature:-**
|
|
490
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
491
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
492
|
-
- Purpose:
|
|
493
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
494
|
-
|
|
495
|
-
```
|
|
496
|
-
chunkGraph:{
|
|
497
|
-
enable: { value: true },
|
|
498
|
-
fileName: ''
|
|
499
|
-
}
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
- Preload Chunk Split Visualization
|
|
503
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
504
|
-
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
|
|
505
|
-
|
|
506
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
507
|
-
|
|
508
|
-
```
|
|
509
|
-
resourceHints: {
|
|
510
|
-
enable: true,
|
|
511
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
512
|
-
},
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
# v0.0.14 (06-10-2025)
|
|
517
|
-
|
|
518
|
-
**Feature:-**
|
|
519
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
520
|
-
|
|
521
|
-
```enableSubResourceIntegrity: true
|
|
522
|
-
```
|
|
523
|
-
**Adjustments:-**
|
|
524
|
-
- add ts-loader to parse tsx and ts files
|
|
525
|
-
|
|
526
|
-
# v0.0.13 (02-09-2025)
|
|
527
|
-
|
|
528
|
-
**Adjustments:-**
|
|
529
|
-
- 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.
|
|
530
|
-
|
|
531
|
-
**Feature:-**
|
|
532
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
533
|
-
- To enable this support , add this in your configuration
|
|
534
|
-
|
|
535
|
-
```murphyBootstrapHtml{
|
|
536
|
-
enable: true,
|
|
537
|
-
chunkName: '',
|
|
538
|
-
filePath: ''
|
|
539
|
-
}```
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
# v0.0.12 (14-08-2025)
|
|
544
|
-
|
|
545
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
546
|
-
|
|
547
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
548
|
-
- remove babel-plugin-module-resolver dependencies
|
|
549
|
-
|
|
550
|
-
**Adjustments:-**
|
|
551
|
-
- Public Folder configuration is separated for development and production
|
|
552
|
-
|
|
553
|
-
**Bug Fix:-**
|
|
554
|
-
- 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`.
|
|
555
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
556
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
557
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
# v0.0.10 (12-05-2025)
|
|
561
|
-
**Feature:-**
|
|
562
|
-
- `alias` support for `build:es` and `build:lib`
|
|
563
|
-
- Add babel-plugin-module-resolver dependencies
|
|
564
|
-
- Modify getBabelPlugin to include module resolver with aliases
|
|
565
|
-
|
|
566
|
-
**Bug Fix:-**
|
|
567
|
-
- Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
|
|
568
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
569
|
-
|
|
570
|
-
**Change:-**
|
|
571
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
572
|
-
|
|
573
|
-
## v0.0.9
|
|
574
|
-
|
|
575
|
-
**Feature:-**
|
|
576
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
577
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
578
|
-
|
|
579
|
-
For example
|
|
580
|
-
```
|
|
581
|
-
externals: {
|
|
582
|
-
<key> : <value>
|
|
583
|
-
}
|
|
584
|
-
```
|
|
585
|
-
|
|
586
|
-
## v0.0.6 (4-09-2023)
|
|
587
|
-
|
|
588
|
-
**Feature:-**
|
|
589
|
-
- 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`.
|
|
590
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
591
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
592
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
593
|
-
- added support for glob pattern for custom chunks split logic.
|
|
594
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
595
|
-
|
|
596
|
-
**Change:-**
|
|
597
|
-
- i18n name not generated issue fix.
|
|
598
|
-
- public path not correctly set issue fix.
|
|
599
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
600
|
-
## v0.0.5 (6-08-2023)
|
|
601
|
-
|
|
602
|
-
**Changes:--**
|
|
603
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
604
|
-
- fixing some bugs in resolvers.js file
|
|
605
|
-
|
|
606
|
-
## v0.0.3 (1-08-2023)
|
|
607
|
-
|
|
608
|
-
**Changes:--**
|
|
609
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
610
|
-
- unwanted files deleted from build
|
|
611
|
-
|
|
612
|
-
**Issue Fix:--**
|
|
613
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
## v0.0.2 (28-04-2023)
|
|
617
|
-
|
|
618
|
-
**Features:-**
|
|
619
|
-
|
|
620
|
-
- `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)
|
|
621
|
-
- `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)
|
|
622
|
-
- `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.
|
|
623
|
-
- `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.
|
|
624
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
625
|
-
|
|
626
|
-
- `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`)
|
|
627
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
628
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
629
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
630
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
631
|
-
- `manifestJson` default value set as false.
|
|
632
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
## v0.0.1 (18-04-2023)
|
|
636
|
-
|
|
637
|
-
First Release
|
|
638
|
-
**Features:-**
|
|
639
|
-
|
|
640
|
-
- 'start' command to run react app
|
|
641
|
-
- 'build' command to create build for react app
|
|
642
|
-
- 'build:lib' command to create lib for react library
|
|
643
|
-
- 'build:es' command to create es for react library
|
|
644
|
-
- 'templates' command to create es for react library
|
|
645
|
-
# Changelog and Release Notes
|
|
646
|
-
|
|
647
|
-
# v0.0.16 (05-11-2025)
|
|
648
|
-
|
|
649
|
-
**Adjustments:-**
|
|
650
|
-
- ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
|
|
651
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
652
|
-
- 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
|
|
653
|
-
- 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.
|
|
654
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
655
|
-
|
|
656
|
-
# v0.0.15 (11-10-2025)
|
|
657
|
-
|
|
658
|
-
**Feature:-**
|
|
659
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
660
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
661
|
-
- Purpose:
|
|
662
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
663
|
-
|
|
664
|
-
```
|
|
665
|
-
chunkGraph:{
|
|
666
|
-
enable: { value: true },
|
|
667
|
-
fileName: ''
|
|
668
|
-
}
|
|
669
|
-
```
|
|
670
|
-
|
|
671
|
-
- Preload Chunk Split Visualization
|
|
672
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
673
|
-
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
|
|
674
|
-
|
|
675
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
676
|
-
|
|
677
|
-
```
|
|
678
|
-
resourceHints: {
|
|
679
|
-
enable: true,
|
|
680
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
681
|
-
},
|
|
682
|
-
```
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
# v0.0.14 (06-10-2025)
|
|
686
|
-
|
|
687
|
-
**Feature:-**
|
|
688
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
689
|
-
|
|
690
|
-
```enableSubResourceIntegrity: true
|
|
691
|
-
```
|
|
692
|
-
**Adjustments:-**
|
|
693
|
-
- add ts-loader to parse tsx and ts files
|
|
694
|
-
|
|
695
|
-
# v0.0.13 (02-09-2025)
|
|
696
|
-
|
|
697
|
-
**Adjustments:-**
|
|
698
|
-
- 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.
|
|
699
|
-
|
|
700
|
-
**Feature:-**
|
|
701
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
702
|
-
- To enable this support , add this in your configuration
|
|
703
|
-
|
|
704
|
-
```murphyBootstrapHtml{
|
|
705
|
-
enable: true,
|
|
706
|
-
chunkName: '',
|
|
707
|
-
filePath: ''
|
|
708
|
-
}```
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
# v0.0.12 (14-08-2025)
|
|
713
|
-
|
|
714
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
715
|
-
|
|
716
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
717
|
-
- remove babel-plugin-module-resolver dependencies
|
|
718
|
-
|
|
719
|
-
**Adjustments:-**
|
|
720
|
-
- Public Folder configuration is separated for development and production
|
|
721
|
-
|
|
722
|
-
**Bug Fix:-**
|
|
723
|
-
- 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`.
|
|
724
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
725
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
726
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
# v0.0.10 (12-05-2025)
|
|
730
|
-
**Feature:-**
|
|
731
|
-
- `alias` support for `build:es` and `build:lib`
|
|
732
|
-
- Add babel-plugin-module-resolver dependencies
|
|
733
|
-
- Modify getBabelPlugin to include module resolver with aliases
|
|
734
|
-
|
|
735
|
-
**Bug Fix:-**
|
|
736
|
-
- Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
|
|
737
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
738
|
-
|
|
739
|
-
**Change:-**
|
|
740
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
741
|
-
|
|
742
|
-
## v0.0.9
|
|
743
|
-
|
|
744
|
-
**Feature:-**
|
|
745
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
746
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
747
|
-
|
|
748
|
-
For example
|
|
749
|
-
```
|
|
750
|
-
externals: {
|
|
751
|
-
<key> : <value>
|
|
752
|
-
}
|
|
753
|
-
```
|
|
754
|
-
|
|
755
|
-
## v0.0.6 (4-09-2023)
|
|
756
|
-
|
|
757
|
-
**Feature:-**
|
|
758
|
-
- 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`.
|
|
759
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
760
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
761
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
762
|
-
- added support for glob pattern for custom chunks split logic.
|
|
763
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
764
|
-
|
|
765
|
-
**Change:-**
|
|
766
|
-
- i18n name not generated issue fix.
|
|
767
|
-
- public path not correctly set issue fix.
|
|
768
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
769
|
-
## v0.0.5 (6-08-2023)
|
|
770
|
-
|
|
771
|
-
**Changes:--**
|
|
772
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
773
|
-
- fixing some bugs in resolvers.js file
|
|
774
|
-
|
|
775
|
-
## v0.0.3 (1-08-2023)
|
|
776
|
-
|
|
777
|
-
**Changes:--**
|
|
778
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
779
|
-
- unwanted files deleted from build
|
|
780
|
-
|
|
781
|
-
**Issue Fix:--**
|
|
782
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
## v0.0.2 (28-04-2023)
|
|
786
|
-
|
|
787
|
-
**Features:-**
|
|
788
|
-
|
|
789
|
-
- `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)
|
|
790
|
-
- `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)
|
|
791
|
-
- `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.
|
|
792
|
-
- `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.
|
|
793
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
794
|
-
|
|
795
|
-
- `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`)
|
|
796
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
797
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
798
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
799
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
800
|
-
- `manifestJson` default value set as false.
|
|
801
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
## v0.0.1 (18-04-2023)
|
|
805
|
-
|
|
806
|
-
First Release
|
|
807
|
-
**Features:-**
|
|
808
|
-
|
|
809
|
-
- 'start' command to run react app
|
|
810
|
-
- 'build' command to create build for react app
|
|
811
|
-
- 'build:lib' command to create lib for react library
|
|
812
|
-
- 'build:es' command to create es for react library
|
|
813
|
-
- 'templates' command to create es for react library
|
|
814
|
-
# Changelog and Release Notes
|
|
815
|
-
|
|
816
|
-
# v0.0.16 (05-11-2025)
|
|
817
|
-
|
|
818
|
-
**Adjustments:-**
|
|
819
|
-
- ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
|
|
820
|
-
- InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
|
|
821
|
-
- 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
|
|
822
|
-
- 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.
|
|
823
|
-
- ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
|
|
824
|
-
|
|
825
|
-
# v0.0.15 (11-10-2025)
|
|
826
|
-
|
|
827
|
-
**Feature:-**
|
|
828
|
-
- Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
|
|
829
|
-
For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
|
|
830
|
-
- Purpose:
|
|
831
|
-
To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
|
|
832
|
-
|
|
833
|
-
```
|
|
834
|
-
chunkGraph:{
|
|
835
|
-
enable: { value: true },
|
|
836
|
-
fileName: ''
|
|
837
|
-
}
|
|
838
|
-
```
|
|
839
|
-
|
|
840
|
-
- Preload Chunk Split Visualization
|
|
841
|
-
Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
|
|
842
|
-
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
|
|
843
|
-
|
|
844
|
-
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
845
|
-
|
|
846
|
-
```
|
|
847
|
-
resourceHints: {
|
|
848
|
-
enable: true,
|
|
849
|
-
PreloadChunkNames: [//name of chunks to be preload//]
|
|
850
|
-
},
|
|
851
|
-
```
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
# v0.0.14 (06-10-2025)
|
|
855
|
-
|
|
856
|
-
**Feature:-**
|
|
857
|
-
- Added integrity and crossorigin attributes for all the js and css files in index.html
|
|
858
|
-
|
|
859
|
-
```enableSubResourceIntegrity: true
|
|
860
|
-
```
|
|
861
|
-
**Adjustments:-**
|
|
862
|
-
- add ts-loader to parse tsx and ts files
|
|
863
|
-
|
|
864
|
-
# v0.0.13 (02-09-2025)
|
|
865
|
-
|
|
866
|
-
**Adjustments:-**
|
|
867
|
-
- 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.
|
|
868
|
-
|
|
869
|
-
**Feature:-**
|
|
870
|
-
- Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
|
|
871
|
-
- To enable this support , add this in your configuration
|
|
872
|
-
|
|
873
|
-
```murphyBootstrapHtml{
|
|
874
|
-
enable: true,
|
|
875
|
-
chunkName: '',
|
|
876
|
-
filePath: ''
|
|
877
|
-
}```
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
# v0.0.12 (14-08-2025)
|
|
882
|
-
|
|
883
|
-
- Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
|
|
884
|
-
|
|
885
|
-
# v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
|
|
886
|
-
- remove babel-plugin-module-resolver dependencies
|
|
887
|
-
|
|
888
|
-
**Adjustments:-**
|
|
889
|
-
- Public Folder configuration is separated for development and production
|
|
890
|
-
|
|
891
|
-
**Bug Fix:-**
|
|
892
|
-
- 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`.
|
|
893
|
-
- Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
|
|
894
|
-
- Fixed the issue where a space in the variable name causes it to return an undefined value.
|
|
895
|
-
- Fixed the URL path generation issue that occurred while using context in the development setup.
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
# v0.0.10 (12-05-2025)
|
|
899
|
-
**Feature:-**
|
|
900
|
-
- `alias` support for `build:es` and `build:lib`
|
|
901
|
-
- Add babel-plugin-module-resolver dependencies
|
|
902
|
-
- Modify getBabelPlugin to include module resolver with aliases
|
|
903
|
-
|
|
904
|
-
**Bug Fix:-**
|
|
905
|
-
- Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
|
|
906
|
-
- Update mockApiHandler to ensure mock function is called correctly
|
|
907
|
-
|
|
908
|
-
**Change:-**
|
|
909
|
-
- Refactor defaultConfigValues.js to include cli options for enableRTLSplit
|
|
910
|
-
|
|
911
|
-
## v0.0.9
|
|
912
|
-
|
|
913
|
-
**Feature:-**
|
|
914
|
-
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
915
|
-
- to use externals, we use the following pattern in `app > externals` :
|
|
916
|
-
|
|
917
|
-
For example
|
|
918
|
-
```
|
|
919
|
-
externals: {
|
|
920
|
-
<key> : <value>
|
|
921
|
-
}
|
|
922
|
-
```
|
|
923
|
-
|
|
924
|
-
## v0.0.6 (4-09-2023)
|
|
925
|
-
|
|
926
|
-
**Feature:-**
|
|
927
|
-
- 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`.
|
|
928
|
-
- Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
|
|
929
|
-
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
|
930
|
-
only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
|
|
931
|
-
- added support for glob pattern for custom chunks split logic.
|
|
932
|
-
- added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
|
|
933
|
-
|
|
934
|
-
**Change:-**
|
|
935
|
-
- i18n name not generated issue fix.
|
|
936
|
-
- public path not correctly set issue fix.
|
|
937
|
-
- changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
|
|
938
|
-
## v0.0.5 (6-08-2023)
|
|
939
|
-
|
|
940
|
-
**Changes:--**
|
|
941
|
-
- Typo fix in i18nRuntimeDealerPlugin.js
|
|
942
|
-
- fixing some bugs in resolvers.js file
|
|
943
|
-
|
|
944
|
-
## v0.0.3 (1-08-2023)
|
|
945
|
-
|
|
946
|
-
**Changes:--**
|
|
947
|
-
- `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
|
|
948
|
-
- unwanted files deleted from build
|
|
949
|
-
|
|
950
|
-
**Issue Fix:--**
|
|
951
|
-
- The issue with the source map not being created in the build has been fixed."
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
## v0.0.2 (28-04-2023)
|
|
955
|
-
|
|
956
|
-
**Features:-**
|
|
957
|
-
|
|
958
|
-
- `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)
|
|
959
|
-
- `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)
|
|
960
|
-
- `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.
|
|
961
|
-
- `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.
|
|
962
|
-
- `enableChunkHash` renamed as `enableFileNameHashing`
|
|
963
|
-
|
|
964
|
-
- `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`)
|
|
965
|
-
- `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
|
|
966
|
-
- `removeAttribute` option changes as `babelCustomizations.removeAttribute`
|
|
967
|
-
- `removePropTypes` support for remove the prop types package in the output build.
|
|
968
|
-
- `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
|
|
969
|
-
- `manifestJson` default value set as false.
|
|
970
|
-
- `customAttributes` support for add attributes to html, link , script tag in the output build.
|
|
971
|
-
|
|
972
|
-
|
|
973
466
|
## v0.0.1 (18-04-2023)
|
|
974
467
|
|
|
975
468
|
First Release
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _webpack = require("webpack");
|
|
9
|
+
|
|
10
|
+
/* eslint-disable class-methods-use-this */
|
|
11
|
+
const pluginName = 'CssCustomOrderPlugin'; // TODO: Check for css minimizer plugin
|
|
12
|
+
|
|
13
|
+
class CssCustomOrderPlugin {
|
|
14
|
+
constructor(className) {
|
|
15
|
+
this.className = className || 'customCss';
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
apply(compiler) {
|
|
19
|
+
const {
|
|
20
|
+
RawSource
|
|
21
|
+
} = compiler.webpack.sources;
|
|
22
|
+
compiler.hooks.compilation.tap(pluginName, compilation => {
|
|
23
|
+
compilation.hooks.processAssets.tapAsync({
|
|
24
|
+
name: pluginName,
|
|
25
|
+
stage: _webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE
|
|
26
|
+
}, (assets, callback) => {
|
|
27
|
+
Object.keys(assets).filter(file => file.includes('runtime')).forEach(filename => {
|
|
28
|
+
try {
|
|
29
|
+
let source = assets[filename].source().toString();
|
|
30
|
+
let changedCode = `var referenceTag = document.getElementById(${this.className});
|
|
31
|
+
document.head.insertBefore(linkTag, referenceTag);`;
|
|
32
|
+
const result = source.replace('document.head.appendChild(linkTag);', changedCode);
|
|
33
|
+
compilation.updateAsset(filename, new RawSource(result));
|
|
34
|
+
callback();
|
|
35
|
+
} catch (e) {
|
|
36
|
+
console.error("issue in CssCustomOrderPlugin");
|
|
37
|
+
compilation.errors.push(e);
|
|
38
|
+
callback(e);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.default = CssCustomOrderPlugin;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.configCssCustomOrderPlugin = configCssCustomOrderPlugin;
|
|
7
|
+
|
|
8
|
+
var _CssCustomOrderPlugin = _interopRequireDefault(require("../custom_plugins/CssCustomOrderPlugin"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
function configCssCustomOrderPlugin(options) {
|
|
13
|
+
if (options.cssOrderControler.enable) {
|
|
14
|
+
return new _CssCustomOrderPlugin.default(options.cssOrderControler.className);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
@@ -55,10 +55,12 @@ var _configChunkHierarchyPlugin = require("./pluginConfigs/configChunkHierarchyP
|
|
|
55
55
|
|
|
56
56
|
var _configInjectChunkGraphPlugin = require("./pluginConfigs/configInjectChunkGraphPlugin");
|
|
57
57
|
|
|
58
|
+
var _configCssCustomOrderPlugin = require("./pluginConfigs/configCssCustomOrderPlugin");
|
|
59
|
+
|
|
58
60
|
// import { IgnorePlugin } from 'webpack';
|
|
59
61
|
function plugins(options) {
|
|
60
62
|
const {
|
|
61
63
|
webpackPlugins
|
|
62
64
|
} = options;
|
|
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), ...webpackPlugins].filter(Boolean);
|
|
65
|
+
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, _configCssCustomOrderPlugin.configCssCustomOrderPlugin)(options), (0, _configChunkHierarchyPlugin.configChunkHierarchyPlugin)(options), ...webpackPlugins].filter(Boolean);
|
|
64
66
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/client_build_tool",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@zohodesk/client_build_tool",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.17",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/cli": "7.17.10",
|
|
@@ -14,6 +14,7 @@
|
|
|
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",
|
|
17
18
|
"@zohodesk/client_packages_group": "1.0.2",
|
|
18
19
|
"babel-loader": "9.1.2",
|
|
19
20
|
"babel-plugin-module-resolver": "5.0.2",
|
|
@@ -2483,6 +2484,15 @@
|
|
|
2483
2484
|
"resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
|
|
2484
2485
|
"integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
|
|
2485
2486
|
},
|
|
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
|
+
},
|
|
2486
2496
|
"node_modules/@zohodesk/client_packages_group": {
|
|
2487
2497
|
"version": "1.0.2",
|
|
2488
2498
|
"resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2.tgz",
|
|
@@ -9778,6 +9788,11 @@
|
|
|
9778
9788
|
"resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
|
|
9779
9789
|
"integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
|
|
9780
9790
|
},
|
|
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
|
+
},
|
|
9781
9796
|
"@zohodesk/client_packages_group": {
|
|
9782
9797
|
"version": "1.0.2",
|
|
9783
9798
|
"resolved": "https://registry.npmjs.org/@zohodesk/client_packages_group/-/client_packages_group-1.0.2.tgz",
|