@absolutejs/absolute 0.19.0-beta.932 → 0.19.0-beta.934
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/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +93 -21
- package/dist/build.js.map +3 -3
- package/dist/index.js +93 -21
- package/dist/index.js.map +3 -3
- package/dist/vue/index.js +4 -10
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +4 -10
- package/dist/vue/server.js.map +3 -3
- package/package.json +1 -1
package/dist/vue/index.js
CHANGED
|
@@ -4118,13 +4118,7 @@ var resolveCurrentGeneratedVueModulePath = async (pagePath) => {
|
|
|
4118
4118
|
return pagePath;
|
|
4119
4119
|
}
|
|
4120
4120
|
};
|
|
4121
|
-
var buildDirtyResponse = (headTag, indexPath, maybeProps
|
|
4122
|
-
if (clientMode === "none") {
|
|
4123
|
-
const html2 = `<!DOCTYPE html><html>${headTag}<body><div id="root"></div>` + `</body></html>`;
|
|
4124
|
-
return new Response(html2, {
|
|
4125
|
-
headers: { "Content-Type": "text/html" }
|
|
4126
|
-
});
|
|
4127
|
-
}
|
|
4121
|
+
var buildDirtyResponse = (headTag, indexPath, maybeProps) => {
|
|
4128
4122
|
const propsScript = `window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})};`;
|
|
4129
4123
|
const dirtyFlag = "window.__SSR_DIRTY__=true;";
|
|
4130
4124
|
const html = `<!DOCTYPE html><html>${headTag}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + `<script type="module" src="${indexPath}"></script>` + `</body></html>`;
|
|
@@ -4155,8 +4149,8 @@ var handleVuePageRequest = async (input) => {
|
|
|
4155
4149
|
const resolvedPagePath = input.pagePath;
|
|
4156
4150
|
const maybeProps = input.props;
|
|
4157
4151
|
const clientMode = input.client ?? "auto";
|
|
4158
|
-
if (isSsrCacheDirty("vue")) {
|
|
4159
|
-
return buildDirtyResponse(resolvedHeadTag, resolvedIndexPath, maybeProps
|
|
4152
|
+
if (clientMode === "auto" && isSsrCacheDirty("vue")) {
|
|
4153
|
+
return buildDirtyResponse(resolvedHeadTag, resolvedIndexPath, maybeProps);
|
|
4160
4154
|
}
|
|
4161
4155
|
try {
|
|
4162
4156
|
const handlerCallsite = resolvedOptions?.collectStreamingSlots === true ? undefined : getCurrentRouteRegistrationCallsite() ?? captureStreamingSlotWarningCallsite();
|
|
@@ -4644,5 +4638,5 @@ export {
|
|
|
4644
4638
|
Image
|
|
4645
4639
|
};
|
|
4646
4640
|
|
|
4647
|
-
//# debugId=
|
|
4641
|
+
//# debugId=E33480BC60008E6864756E2164756E21
|
|
4648
4642
|
//# sourceMappingURL=index.js.map
|