@jsenv/core 29.7.0 → 29.7.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/dist/main.js CHANGED
@@ -28494,7 +28494,7 @@ const replacePlaceholders = (urlInfo, replacements) => {
28494
28494
  magicSource.replace({
28495
28495
  start,
28496
28496
  end,
28497
- replacement: urlInfo.type === "js_classic" || urlInfo.type === "js_module" ? JSON.stringify(replacements[key], null, " ") : replacements[key]
28497
+ replacement: urlInfo.type === "js_classic" || urlInfo.type === "js_module" || urlInfo.type === "html" ? JSON.stringify(replacements[key], null, " ") : replacements[key]
28498
28498
  });
28499
28499
  index = content.indexOf(key, end);
28500
28500
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "29.7.0",
3
+ "version": "29.7.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -12,7 +12,9 @@ export const replacePlaceholders = (urlInfo, replacements) => {
12
12
  start,
13
13
  end,
14
14
  replacement:
15
- urlInfo.type === "js_classic" || urlInfo.type === "js_module"
15
+ urlInfo.type === "js_classic" ||
16
+ urlInfo.type === "js_module" ||
17
+ urlInfo.type === "html"
16
18
  ? JSON.stringify(replacements[key], null, " ")
17
19
  : replacements[key],
18
20
  })