@zohodesk/client_build_tool 0.0.6-exp.49 → 0.0.6-exp.50

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.
@@ -36,7 +36,8 @@ const PostcssValueReplacer = (valueReplacer = []) => {
36
36
  sortedKeys: valueKeys.sort(diffBasedOnStrLength),
37
37
  values: obj.values
38
38
  };
39
- }
39
+ } // console.log(options);
40
+
40
41
  });
41
42
  }); // Work with options here
42
43
 
@@ -46,7 +47,7 @@ const PostcssValueReplacer = (valueReplacer = []) => {
46
47
  const propOptions = options[decl.prop];
47
48
  propOptions?.sortedKeys.forEach(k => {
48
49
  // eslint-disable-next-line no-param-reassign
49
- decl.value = decl.value.replaceAll(k, propOptions.values[k]);
50
+ decl.value = decl.value.replaceAll(new RegExp(k, 'g'), propOptions.values[k]);
50
51
  });
51
52
  }
52
53
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.6-exp.43",
3
+ "version": "0.0.6-exp.49",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.6-exp.49",
3
+ "version": "0.0.6-exp.50",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {