@zohodesk/client_build_tool 0.0.6 → 0.0.7-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 +13 -0
- package/README.md +13 -0
- package/index.html +600 -0
- package/lib/schemas/defaultConfigValues.js +23 -1
- package/lib/schemas/readOptions.js +33 -0
- package/lib/shared/babel/babelWebConfig.js +4 -1
- package/lib/shared/babel/runBabelForTsFile.js +30 -0
- package/lib/shared/bundler/webpack/common/decidePublicPath.js +5 -0
- package/lib/shared/bundler/webpack/common/nameTemplates.js +13 -9
- package/lib/shared/bundler/webpack/custom_plugins/{CdnChangePlugin.js → CdnChangePlugin/index.js} +29 -5
- package/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/webpackCustomJsUrlLoader.js +46 -0
- package/lib/shared/bundler/webpack/custom_plugins/CustomScriptLoadingPlugin.js +109 -0
- package/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +1 -1
- package/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +4 -0
- package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +8 -2
- package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +7 -1
- package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +1 -1
- package/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +1 -0
- package/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +5 -1
- package/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPluginUtils.js +13 -0
- package/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +20 -2
- package/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/index.js +1 -1
- package/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +4 -4
- package/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +1 -1
- package/lib/shared/bundler/webpack/devtoolConfig.js +4 -1
- package/lib/shared/bundler/webpack/externals.js +5 -1
- package/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +1 -1
- package/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +6 -1
- package/lib/shared/bundler/webpack/optimizationConfig.js +15 -2
- package/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +5 -1
- package/lib/shared/bundler/webpack/pluginConfigs/configCustomScriptLoadingStrategyPlugin.js +76 -0
- package/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +1 -1
- package/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +25 -13
- package/lib/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +2 -1
- package/lib/shared/bundler/webpack/plugins.js +3 -1
- package/lib/shared/bundler/webpack/resolvers.js +2 -1
- package/lib/shared/bundler/webpack/tsLoaders.js +17 -0
- package/lib/shared/bundler/webpack/utils/index.js +6 -1
- package/lib/shared/bundler/webpack/webpackConfig.js +3 -1
- package/lib/shared/fileUtils/watchRun.js +13 -1
- package/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +1 -1
- package/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +4 -0
- package/lib/shared/server/getServerURL.js +9 -2
- package/npm-shrinkwrap.json +412 -7328
- package/package.json +5 -2
- package/coverage/addFilesNamesToManifestJson.js.html +0 -148
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/addFilesNamesToManifestJson.js.html +0 -148
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/createInitialEntries.js.html +0 -136
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/createManifestJson.js.html +0 -181
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/findInitialFileNames.js.html +0 -133
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/index.html +0 -146
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/index.js.html +0 -199
- package/coverage/bundler/webpack/custom_plugins/AddManifestJson/removeHashFromFileName.js.html +0 -127
- package/coverage/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js.html +0 -346
- package/coverage/bundler/webpack/custom_plugins/VariableConversionCollector/index.html +0 -116
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/constants.js.html +0 -94
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js.html +0 -259
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/index.html +0 -236
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/index.js.html +0 -442
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/insertBefore.js.html +0 -154
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js.html +0 -142
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js.html +0 -127
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js.html +0 -139
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/specialCases.js.html +0 -184
- package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js.html +0 -193
- package/coverage/bundler/webpack/custom_postcss_plugins/SelectorReplace.js.html +0 -292
- package/coverage/bundler/webpack/custom_postcss_plugins/ValueReplacer.js.html +0 -223
- package/coverage/bundler/webpack/custom_postcss_plugins/VariableModificationPlugin/index.html +0 -116
- package/coverage/bundler/webpack/custom_postcss_plugins/VariableModificationPlugin/index.js.html +0 -1126
- package/coverage/bundler/webpack/custom_postcss_plugins/index.html +0 -131
- package/coverage/bundler/webpack/loaderConfigs/getSpecificPostCssPlugin.js.html +0 -247
- package/coverage/bundler/webpack/loaderConfigs/index.html +0 -116
- package/coverage/coverage-final.json +0 -4
- package/coverage/coverage-summary.json +0 -5
- package/coverage/createInitialEntries.js.html +0 -136
- package/coverage/dummy.js.html +0 -238
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -146
- package/coverage/index.js.html +0 -169
- package/coverage/isObject.js.html +0 -94
- package/coverage/isValid.js.html +0 -106
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/removeHashFromFileName.js.html +0 -127
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/result.json +0 -1
- package/unittest/index.html +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog and Release Notes
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
**Feature:-**
|
|
6
|
+
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
7
|
+
- to use externals, we use the following pattern in `app > externals` :
|
|
8
|
+
|
|
9
|
+
For example
|
|
10
|
+
```
|
|
11
|
+
externals: {
|
|
12
|
+
<key> : <value>
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
3
16
|
## v0.0.6 (4-09-2023)
|
|
4
17
|
|
|
5
18
|
**Feature:-**
|
package/README.md
CHANGED
|
@@ -84,6 +84,19 @@ These commands provide flexibility and control over your client-side build proce
|
|
|
84
84
|
For more [Details](ConfigurationDocumentation.md)
|
|
85
85
|
# Changelog and Release Notes
|
|
86
86
|
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
**Feature:-**
|
|
90
|
+
- externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
|
|
91
|
+
- to use externals, we use the following pattern in `app > externals` :
|
|
92
|
+
|
|
93
|
+
For example
|
|
94
|
+
```
|
|
95
|
+
externals: {
|
|
96
|
+
<key> : <value>
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
87
100
|
## v0.0.6 (4-09-2023)
|
|
88
101
|
|
|
89
102
|
**Feature:-**
|