@jsenv/core 23.0.8 → 23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "23.0.8",
3
+ "version": "23.0.9",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -255,7 +255,9 @@ export const createJsenvRollupPlugin = async ({
255
255
  jsenvRollupPlugin.renderChunk = async (code, chunk) => {
256
256
  let map = chunk.map
257
257
  const result = await minifyJs({
258
- url: asOriginalUrl(chunk.facadeModuleId),
258
+ url: chunk.facadeModuleId
259
+ ? asOriginalUrl(chunk.facadeModuleId)
260
+ : resolveUrl(chunk.fileName, buildDirectoryUrl),
259
261
  code,
260
262
  map,
261
263
  ...(format === "global" ? { toplevel: false } : { toplevel: true }),