@jsenv/core 24.5.4 → 24.5.5

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": "24.5.4",
3
+ "version": "24.5.5",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,6 +27,10 @@ export const jsenvServiceWorkerFinalizer = (
27
27
  buildUrl,
28
28
  serviceWorkerBuildUrl,
29
29
  )
30
+ if (urlRelativeToServiceWorker === "") {
31
+ // don't put the service worker itself
32
+ return
33
+ }
30
34
  const versioned = fileNameContainsHash(buildRelativeUrl)
31
35
  const rollupFile = rollupBuild[buildRelativeUrl]
32
36