@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/build.js
CHANGED
|
@@ -204899,8 +204899,9 @@ var ssrDirty = false, lastSelector = "angular-page", isRecord6 = (value) => type
|
|
|
204899
204899
|
const sanitizer = getSsrSanitizer(deps);
|
|
204900
204900
|
const providers = buildProviders(deps, sanitizer, maybeProps, tokenMap);
|
|
204901
204901
|
const rawHtml = await renderAngularApp(deps, PageComponent, providers, htmlString);
|
|
204902
|
-
const
|
|
204903
|
-
const
|
|
204902
|
+
const shouldProcessIslands = hasIslands || rawHtml.includes("<absolute-island");
|
|
204903
|
+
const htmlWithLoweredIslands = shouldProcessIslands ? await lowerAngularServerIslands(rawHtml) : rawHtml;
|
|
204904
|
+
const html = injectIslandPageContext(injectSsrScripts(htmlWithLoweredIslands, requestId, indexPath, maybeProps), { hasIslands: shouldProcessIslands });
|
|
204904
204905
|
return new Response(html, {
|
|
204905
204906
|
headers: { "Content-Type": "text/html" }
|
|
204906
204907
|
});
|
|
@@ -208005,5 +208006,5 @@ export {
|
|
|
208005
208006
|
build
|
|
208006
208007
|
};
|
|
208007
208008
|
|
|
208008
|
-
//# debugId=
|
|
208009
|
+
//# debugId=C9D80972CB3D466064756E2164756E21
|
|
208009
208010
|
//# sourceMappingURL=build.js.map
|