@absolutejs/absolute 0.19.0-beta.379 → 0.19.0-beta.380
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 +2 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/server.js +2 -2
- package/dist/angular/server.js.map +1 -1
- package/dist/build.js +5 -7
- package/dist/build.js.map +3 -3
- package/dist/index.js +5 -7
- package/dist/index.js.map +3 -3
- package/dist/svelte/index.js +4 -6
- package/dist/svelte/index.js.map +3 -3
- package/dist/svelte/server.js +4 -6
- package/dist/svelte/server.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -172642,7 +172642,7 @@ ${registrations}
|
|
|
172642
172642
|
({ tsLibDir } = cached);
|
|
172643
172643
|
cached.lastUsed = Date.now();
|
|
172644
172644
|
} else {
|
|
172645
|
-
const tsPath = __require.resolve("typescript");
|
|
172645
|
+
const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
|
|
172646
172646
|
const tsRootDir = dirname8(tsPath);
|
|
172647
172647
|
tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
|
|
172648
172648
|
const config = readConfiguration("./tsconfig.json");
|
|
@@ -176234,10 +176234,9 @@ var ssrDirty3 = false, isRecord7 = (value) => typeof value === "object" && value
|
|
|
176234
176234
|
const hasIslands = value["__ABSOLUTE_PAGE_HAS_ISLANDS__"];
|
|
176235
176235
|
return typeof hasIslands === "boolean" ? hasIslands : false;
|
|
176236
176236
|
}, readDefaultExport = (value) => isRecord7(value) ? value.default : undefined, buildDirtyResponse2 = (indexPath, props) => {
|
|
176237
|
-
const propsScript = `window.__ABS_SLOT_HYDRATION_PENDING__=true;window.__INITIAL_PROPS__=${JSON.stringify(props)}
|
|
176237
|
+
const propsScript = `window.__ABS_SLOT_HYDRATION_PENDING__=true;window.__INITIAL_PROPS__=${JSON.stringify(props)};${indexPath ? `import(${JSON.stringify(indexPath)});` : ""}`;
|
|
176238
176238
|
const dirtyFlag = "window.__SSR_DIRTY__=true;";
|
|
176239
|
-
const
|
|
176240
|
-
const html = `<!DOCTYPE html><html><head></head><body><script>${propsScript}${dirtyFlag}</script>${scriptTag}</body></html>`;
|
|
176239
|
+
const html = `<!DOCTYPE html><html><head></head><body><script>${propsScript}${dirtyFlag}</script></body></html>`;
|
|
176241
176240
|
return new Response(html, {
|
|
176242
176241
|
headers: { "Content-Type": "text/html" }
|
|
176243
176242
|
});
|
|
@@ -176286,8 +176285,7 @@ var ssrDirty3 = false, isRecord7 = (value) => typeof value === "object" && value
|
|
|
176286
176285
|
const resolvedPage = await resolvePageComponent();
|
|
176287
176286
|
const stream = await renderToReadableStream2(resolvedPage.component, props, {
|
|
176288
176287
|
bodyContent: options?.bodyContent,
|
|
176289
|
-
|
|
176290
|
-
bootstrapScriptContent: `window.__ABS_SLOT_HYDRATION_PENDING__=true;window.__INITIAL_PROPS__=${JSON.stringify(props)}`,
|
|
176288
|
+
bootstrapScriptContent: `window.__ABS_SLOT_HYDRATION_PENDING__=true;window.__INITIAL_PROPS__=${JSON.stringify(props)};${indexPath ? `import(${JSON.stringify(indexPath)});` : ""}`,
|
|
176291
176289
|
headContent: options?.headContent
|
|
176292
176290
|
});
|
|
176293
176291
|
const htmlStream = injectIslandPageContextStream(stream, {
|
|
@@ -179180,5 +179178,5 @@ export {
|
|
|
179180
179178
|
build
|
|
179181
179179
|
};
|
|
179182
179180
|
|
|
179183
|
-
//# debugId=
|
|
179181
|
+
//# debugId=2A0F873A92531CD864756E2164756E21
|
|
179184
179182
|
//# sourceMappingURL=build.js.map
|