@absolutejs/absolute 0.19.0-beta.290 → 0.19.0-beta.291
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 +4 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +4 -3
- package/dist/index.js.map +3 -3
- package/dist/src/angular/Island.d.ts +1 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -204949,8 +204949,9 @@ var ssrDirty2 = false, lastSelector = "angular-page", isRecord7 = (value) => typ
|
|
|
204949
204949
|
const sanitizer = getSsrSanitizer(deps);
|
|
204950
204950
|
const providers = buildProviders(deps, sanitizer, maybeProps, tokenMap);
|
|
204951
204951
|
const rawHtml = await renderAngularApp(deps, PageComponent, providers, htmlString);
|
|
204952
|
-
const
|
|
204953
|
-
const
|
|
204952
|
+
const shouldProcessIslands = hasIslands || rawHtml.includes("<absolute-island");
|
|
204953
|
+
const htmlWithLoweredIslands = shouldProcessIslands ? await lowerAngularServerIslands(rawHtml) : rawHtml;
|
|
204954
|
+
const html = injectIslandPageContext(injectSsrScripts(htmlWithLoweredIslands, requestId, indexPath, maybeProps), { hasIslands: shouldProcessIslands });
|
|
204954
204955
|
return new Response(html, {
|
|
204955
204956
|
headers: { "Content-Type": "text/html" }
|
|
204956
204957
|
});
|
|
@@ -215450,5 +215451,5 @@ export {
|
|
|
215450
215451
|
ANGULAR_INIT_TIMEOUT_MS
|
|
215451
215452
|
};
|
|
215452
215453
|
|
|
215453
|
-
//# debugId=
|
|
215454
|
+
//# debugId=6A6938F7FEBE179964756E2164756E21
|
|
215454
215455
|
//# sourceMappingURL=index.js.map
|