@zohodesk/client_build_tool 0.0.15-exp.13 → 0.0.15-exp.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+ # v0.0.15-exp.15 (03-11-2025)
4
+ - css sourcemap creation disabled
5
+ - React and React-dom version 17 upgraded
6
+
3
7
  # v0.0.15 (11-10-2025)
4
8
 
5
9
  **Feature:-**
package/README.md CHANGED
@@ -306,6 +306,10 @@ First Release
306
306
  - 'templates' command to create es for react library
307
307
  # Changelog and Release Notes
308
308
 
309
+ # v0.0.15-exp.15 (03-11-2025)
310
+ - css sourcemap creation disabled
311
+ - React and React-dom version 17 upgraded
312
+
309
313
  # v0.0.15 (11-10-2025)
310
314
 
311
315
  **Feature:-**
@@ -15,7 +15,7 @@ function getCssLoaderOptions(options) {
15
15
  modules: {
16
16
  getLocalIdent: (0, _cssClassNameGenerate.default)(options)
17
17
  },
18
- sourceMap: true
18
+ sourceMap: false
19
19
  };
20
20
  return cssLoaderOptions;
21
21
  }
@@ -27,7 +27,17 @@ function outputConfig(options) {
27
27
  chunkLoadingGlobal: (0, _modeUtils.getGlobalCacheStorageName)(options),
28
28
  publicPath,
29
29
  // clean: true,
30
- path: _path.default.resolve(_constants.appPath, output)
30
+ path: _path.default.resolve(_constants.appPath, output),
31
+ devtoolModuleFilenameTemplate: info => {
32
+ let resourcePath = info.resourcePath;
33
+ const namespace = info.namespace;
34
+
35
+ if (resourcePath.startsWith('./')) {
36
+ resourcePath = resourcePath.substring(2);
37
+ }
38
+
39
+ return `webpack://${namespace}/${resourcePath}`;
40
+ }
31
41
  };
32
42
 
33
43
  if (htmlTemplate.crossorigin) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.15-exp.13",
3
+ "version": "0.0.15-exp.15",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "@babel/preset-react": "7.17.12",
34
34
  "@babel/preset-typescript": "7.23.2",
35
35
  "@zohodesk-private/client_dev_cert": "^1.0.6",
36
- "@zohodesk/client_packages_group": "1.0.2",
36
+ "@zohodesk/client_packages_group": "1.0.3-exp.2",
37
37
  "babel-loader": "9.1.2",
38
38
  "babel-plugin-module-resolver": "5.0.2",
39
39
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",