@absolutejs/absolute 0.19.0-beta.383 → 0.19.0-beta.384
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/build.js +2 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +2 -3
- package/dist/index.js.map +3 -3
- package/dist/svelte/index.js +2 -3
- package/dist/svelte/index.js.map +3 -3
- package/dist/svelte/server.js +2 -3
- package/dist/svelte/server.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -171748,8 +171748,7 @@ var SVELTE_PAGE_ROOT_ID = "__absolute_svelte_root__", renderToReadableStream = a
|
|
|
171748
171748
|
try {
|
|
171749
171749
|
const { render } = await import("svelte/server");
|
|
171750
171750
|
const rendered = typeof props === "undefined" ? await render(component) : await render(component, { props });
|
|
171751
|
-
const { head
|
|
171752
|
-
const head = rawHead.replace(/(<!--[a-z0-9]+-->)([\s\S]*?)(<!---->)\s*(<title>[\s\S]*?<\/title>)/, "$1$4$2$3");
|
|
171751
|
+
const { head, body } = rendered;
|
|
171753
171752
|
const nonceAttr = nonce ? ` nonce="${nonce}"` : "";
|
|
171754
171753
|
const scripts = (bootstrapScriptContent ? `<script${nonceAttr}>${escapeScriptContent(bootstrapScriptContent)}</script>` : "") + bootstrapScripts.map((src) => `<script${nonceAttr} src="${src}"></script>`).join("") + bootstrapModules.map((src) => `<script${nonceAttr} type="module" src="${src}"></script>`).join("");
|
|
171755
171754
|
const encoder = new TextEncoder;
|
|
@@ -179187,5 +179186,5 @@ export {
|
|
|
179187
179186
|
build
|
|
179188
179187
|
};
|
|
179189
179188
|
|
|
179190
|
-
//# debugId=
|
|
179189
|
+
//# debugId=1C6D23EC7B3EE6A464756E2164756E21
|
|
179191
179190
|
//# sourceMappingURL=build.js.map
|