@jsenv/core 27.0.0-alpha.47 → 27.0.0-alpha.48

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.
@@ -546,4 +546,4 @@ window.__jsenv_event_source_client__ = {
546
546
  // })
547
547
  // }
548
548
 
549
- //# sourceMappingURL=/event_source_client.js.map
549
+ //# sourceMappingURL=event_source_client.js.map
@@ -1233,4 +1233,4 @@ const superviseScriptTypeModule = ({
1233
1233
 
1234
1234
  export { installHtmlSupervisor, superviseScriptTypeModule };
1235
1235
 
1236
- //# sourceMappingURL=/html_supervisor_installer.js.map
1236
+ //# sourceMappingURL=html_supervisor_installer.js.map
@@ -92,4 +92,4 @@ window.__html_supervisor__ = {
92
92
  }
93
93
  };
94
94
 
95
- //# sourceMappingURL=/html_supervisor_setup.js.map
95
+ //# sourceMappingURL=html_supervisor_setup.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "27.0.0-alpha.47",
3
+ "version": "27.0.0-alpha.48",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -160,7 +160,10 @@ export const createUrlInfoTransformer = ({
160
160
  urlInfo.content = SOURCEMAP.writeComment({
161
161
  contentType: urlInfo.contentType,
162
162
  content: urlInfo.content,
163
- specifier: sourcemapReference.generatedSpecifier,
163
+ specifier:
164
+ sourcemaps === "file" && sourcemapsRelativeSources
165
+ ? urlToRelativeUrl(sourcemapReference.url, urlInfo.url)
166
+ : sourcemapReference.generatedSpecifier,
164
167
  })
165
168
  }
166
169
  }