@zohodesk/client_build_tool 0.0.15-exp.9 → 0.0.16-exp.1
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 +38 -0
- package/README.md +76 -0
- package/README_backup.md +38 -0
- package/lib/schemas/defaultConfigValues.js +9 -0
- package/lib/shared/babel/babelWebConfig.js +1 -1
- package/lib/shared/babel/getBabelPlugin.js +13 -3
- package/lib/shared/bundler/webpack/custom_plugins/ChunkHierarchyPlugin.js +24 -10
- package/lib/shared/bundler/webpack/custom_plugins/InjectChunkGraphPlugin.js +5 -1
- package/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +3 -3
- package/lib/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +1 -1
- package/lib/shared/bundler/webpack/outputConfig.js +11 -1
- package/lib/shared/bundler/webpack/pluginConfigs/configChunkHierarchyPlugin.js +1 -1
- package/lib/shared/bundler/webpack/plugins.js +3 -1
- package/lib/shared/bundler/webpack/tsLoaders.js +0 -1
- package/npm-shrinkwrap.json +2 -17
- package/package.json +3 -3
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,6 +306,44 @@ First Release
|
|
|
306
306
|
- 'templates' command to create es for react library
|
|
307
307
|
# Changelog and Release Notes
|
|
308
308
|
|
|
309
|
+
# v0.0.16 (05-11-2025)
|
|
310
|
+
|
|
311
|
+
**Adjustments:-**
|
|
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.
|
|
317
|
+
|
|
318
|
+
# v0.0.15 (11-10-2025)
|
|
319
|
+
|
|
320
|
+
**Feature:-**
|
|
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.
|
|
325
|
+
|
|
326
|
+
```
|
|
327
|
+
chunkGraph:{
|
|
328
|
+
enable: { value: true },
|
|
329
|
+
fileName: ''
|
|
330
|
+
}
|
|
331
|
+
```
|
|
332
|
+
|
|
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
|
|
336
|
+
|
|
337
|
+
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
338
|
+
|
|
339
|
+
```
|
|
340
|
+
resourceHints: {
|
|
341
|
+
enable: true,
|
|
342
|
+
PreloadChunkNames: [//name of chunks to be preload//]
|
|
343
|
+
},
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
|
|
309
347
|
# v0.0.14 (06-10-2025)
|
|
310
348
|
|
|
311
349
|
**Feature:-**
|
|
@@ -437,6 +475,44 @@ First Release
|
|
|
437
475
|
- 'templates' command to create es for react library
|
|
438
476
|
# Changelog and Release Notes
|
|
439
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
|
+
|
|
440
516
|
# v0.0.14 (06-10-2025)
|
|
441
517
|
|
|
442
518
|
**Feature:-**
|
package/README_backup.md
CHANGED
|
@@ -306,6 +306,44 @@ First Release
|
|
|
306
306
|
- 'templates' command to create es for react library
|
|
307
307
|
# Changelog and Release Notes
|
|
308
308
|
|
|
309
|
+
# v0.0.16 (05-11-2025)
|
|
310
|
+
|
|
311
|
+
**Adjustments:-**
|
|
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.
|
|
317
|
+
|
|
318
|
+
# v0.0.15 (11-10-2025)
|
|
319
|
+
|
|
320
|
+
**Feature:-**
|
|
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.
|
|
325
|
+
|
|
326
|
+
```
|
|
327
|
+
chunkGraph:{
|
|
328
|
+
enable: { value: true },
|
|
329
|
+
fileName: ''
|
|
330
|
+
}
|
|
331
|
+
```
|
|
332
|
+
|
|
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
|
|
336
|
+
|
|
337
|
+
if resourceHints not enabled plc , pfc and custom function related to this are not created
|
|
338
|
+
|
|
339
|
+
```
|
|
340
|
+
resourceHints: {
|
|
341
|
+
enable: true,
|
|
342
|
+
PreloadChunkNames: [//name of chunks to be preload//]
|
|
343
|
+
},
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
|
|
309
347
|
# v0.0.14 (06-10-2025)
|
|
310
348
|
|
|
311
349
|
**Feature:-**
|
|
@@ -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;
|
|
@@ -30,7 +30,7 @@ function babelWebConfig(options, mode) {
|
|
|
30
30
|
} = options.typeScript;
|
|
31
31
|
return {
|
|
32
32
|
presets: typeScriptEnable ? [getBabelPresetEnvConfig(browserList, mode), require.resolve('@babel/preset-react'), require.resolve('@babel/preset-typescript')] : [getBabelPresetEnvConfig(browserList, mode), require.resolve('@babel/preset-react')],
|
|
33
|
-
plugins: customBabelPlugins(babelPlugins).concat((0, _getBabelPlugin.getBabelPlugin)(options)).filter(Boolean)
|
|
33
|
+
plugins: customBabelPlugins(babelPlugins).concat((0, _getBabelPlugin.getBabelPlugin)(options, mode)).filter(Boolean)
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -16,12 +16,22 @@ const babelPluginMapping = {
|
|
|
16
16
|
};
|
|
17
17
|
const babelPluginOrder = ['removeAttribute', 'removePropTypes', 'devConsoleExclude'];
|
|
18
18
|
|
|
19
|
-
function getBabelPlugin(options) {
|
|
19
|
+
function getBabelPlugin(options, command) {
|
|
20
20
|
const {
|
|
21
21
|
mode
|
|
22
|
-
} = options;
|
|
23
|
-
|
|
22
|
+
} = options;
|
|
23
|
+
const {
|
|
24
|
+
alias
|
|
25
|
+
} = options.resolve;
|
|
24
26
|
let customPlugins = [];
|
|
27
|
+
|
|
28
|
+
if (command == 'es' || command == 'lib') {
|
|
29
|
+
customPlugins = [[require.resolve('babel-plugin-module-resolver'), {
|
|
30
|
+
root: ['./'],
|
|
31
|
+
alias
|
|
32
|
+
}]];
|
|
33
|
+
}
|
|
34
|
+
|
|
25
35
|
const {
|
|
26
36
|
babelCustomizations
|
|
27
37
|
} = options;
|
|
@@ -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 (
|
|
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
|
|
41
|
-
|
|
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('
|
|
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 =
|
|
148
|
+
const preloadChunkGraph = __PRELOAD_CHUNK_GRAPH__
|
|
149
149
|
${`
|
|
150
|
-
|
|
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);
|
|
@@ -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
|
|
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
|
}
|
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.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.
|
|
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.
|
|
3
|
+
"version": "0.0.16-exp.1",
|
|
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.
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://zgit.csecz.zohocorpin.com/zohodesk/react-cli.git"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"buildtool",
|