@zohodesk/client_build_tool 0.0.7 → 0.0.9

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/README.md CHANGED
@@ -82,6 +82,22 @@ The following commands are available options for the `cbt` (Client Build Tool) C
82
82
  These commands provide flexibility and control over your client-side build process, allowing you to start the development server, build your application, transpile libraries, create templates, run a mock API server, and more.
83
83
 
84
84
  For more [Details](ConfigurationDocumentation.md)
85
+
86
+
87
+ version details :-
88
+
89
+ # 0.0.8
90
+
91
+ - Main version
92
+
93
+ # 0.0.9
94
+
95
+ fixes :-
96
+
97
+ - service worker wrong i18n entry fixed
98
+
99
+ - preload plc undefined url fixed
100
+
85
101
  # Changelog and Release Notes
86
102
 
87
103
 
package/README_backup.md CHANGED
@@ -82,3 +82,19 @@ The following commands are available options for the `cbt` (Client Build Tool) C
82
82
  These commands provide flexibility and control over your client-side build process, allowing you to start the development server, build your application, transpile libraries, create templates, run a mock API server, and more.
83
83
 
84
84
  For more [Details](ConfigurationDocumentation.md)
85
+
86
+
87
+ version details :-
88
+
89
+ # 0.0.8
90
+
91
+ - Main version
92
+
93
+ # 0.0.9
94
+
95
+ fixes :-
96
+
97
+ - service worker wrong i18n entry fixed
98
+
99
+ - preload plc undefined url fixed
100
+
@@ -127,7 +127,7 @@ class ResourceHintsRuntimePlugin extends _webpack.RuntimeModule {
127
127
  }
128
128
  function isValidUrl(url) {
129
129
  //return !url.includes(".undefined.");
130
- return url.indexOf(".undefined.") === -1;
130
+ return url.indexOf(".undefined") === -1;
131
131
  }
132
132
  function lpp(_chunkId, rel) {
133
133
  let chunkId = ${_webpack.RuntimeGlobals.require}.getChunkId(_chunkId);
@@ -84,8 +84,14 @@ class ServiceWorkerPlugin {
84
84
  // chunkSplitEnable &&
85
85
 
86
86
  [...compilation.chunks].filter(c => !this.isInitialChunk(c)).forEach(chunk => {
87
- allChunkUrls = [...allChunkUrls, ...chunk.files];
88
- allI18nAssets.push((0, _ServiceWorkerPluginUtils.getI18nFileUrlPathTemplate)(compilation, chunk, this.i18nFileNameTemplate, '@locale@'));
87
+ allChunkUrls = [...allChunkUrls, ...chunk.files]; // allI18nAssets.push(
88
+ // getI18nFileUrlPathTemplate(
89
+ // compilation,
90
+ // chunk,
91
+ // this.i18nFileNameTemplate,
92
+ // '@locale@'
93
+ // )
94
+ // );
89
95
  });
90
96
  allChunkUrls = allChunkUrls.filter(fileName => !fileName.endsWith('.map'));
91
97
  allChunkUrls = allChunkUrls.map(fileName => fileName.replace('smap/', ''));
@@ -62,7 +62,7 @@ function getI18nAssetsForChunkAsArrayStr({
62
62
  i18nStore,
63
63
  i18nFileNameTemplate
64
64
  })).filter(Boolean);
65
- return `${JSON.stringify(i18nAssetsUrlTemplates)}.map(urlPath => urlPath.replace(/@locale@/g, lang))`;
65
+ return `${JSON.stringify(i18nAssetsUrlTemplates)}`;
66
66
  }
67
67
 
68
68
  function getI18nAssetForChunkAsStr({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {