@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.
- package/dist/angular/index.js +6 -25
- package/dist/angular/index.js.map +4 -4
- package/dist/angular/server.js +4 -3
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +19 -20
- package/dist/build.js.map +4 -4
- package/dist/index.js +19 -20
- package/dist/index.js.map +4 -4
- package/dist/src/angular/Island.d.ts +1 -6
- package/package.json +1 -1
package/dist/angular/server.js
CHANGED
|
@@ -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
|
|
30691
|
-
const
|
|
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=
|
|
30726
|
+
//# debugId=0C795975C69861D964756E2164756E21
|
|
30726
30727
|
//# sourceMappingURL=server.js.map
|