@absolutejs/absolute 0.19.0-beta.290 → 0.19.0-beta.292

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.
@@ -30687,8 +30687,9 @@ var ssrDirty = false, lastSelector = "angular-page", isRecord4 = (value) => type
30687
30687
  const sanitizer = getSsrSanitizer(deps);
30688
30688
  const providers = buildProviders(deps, sanitizer, maybeProps, tokenMap);
30689
30689
  const rawHtml = await renderAngularApp(deps, PageComponent, providers, htmlString);
30690
- const htmlWithLoweredIslands = hasIslands ? await lowerAngularServerIslands(rawHtml) : rawHtml;
30691
- const html = injectIslandPageContext(injectSsrScripts(htmlWithLoweredIslands, requestId, indexPath, maybeProps), { hasIslands });
30690
+ const shouldProcessIslands = hasIslands || rawHtml.includes("<absolute-island");
30691
+ const htmlWithLoweredIslands = shouldProcessIslands ? await lowerAngularServerIslands(rawHtml) : rawHtml;
30692
+ const html = injectIslandPageContext(injectSsrScripts(htmlWithLoweredIslands, requestId, indexPath, maybeProps), { hasIslands: shouldProcessIslands });
30692
30693
  return new Response(html, {
30693
30694
  headers: { "Content-Type": "text/html" }
30694
30695
  });
@@ -30722,5 +30723,5 @@ export {
30722
30723
  handleAngularPageRequest
30723
30724
  };
30724
30725
 
30725
- //# debugId=7CCE454FB72ACC8364756E2164756E21
30726
+ //# debugId=0C795975C69861D964756E2164756E21
30726
30727
  //# sourceMappingURL=server.js.map