@absolutejs/absolute 0.19.0-beta.383 → 0.19.0-beta.385
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 +4 -7
- package/dist/build.js.map +4 -4
- package/dist/index.js +4 -7
- package/dist/index.js.map +4 -4
- 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;
|
|
@@ -172651,7 +172650,7 @@ ${registrations}
|
|
|
172651
172650
|
({ tsLibDir } = cached);
|
|
172652
172651
|
cached.lastUsed = Date.now();
|
|
172653
172652
|
} else {
|
|
172654
|
-
const tsPath = __require.resolve("typescript");
|
|
172653
|
+
const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
|
|
172655
172654
|
const tsRootDir = dirname8(tsPath);
|
|
172656
172655
|
tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
|
|
172657
172656
|
const config = readConfiguration("./tsconfig.json");
|
|
@@ -173651,9 +173650,7 @@ var isDev, collectConventionSourceFiles = (entry) => {
|
|
|
173651
173650
|
const indexFile = join18(svelteIndexDir, "pages", `${name}.js`);
|
|
173652
173651
|
if (!existsSync16(indexFile))
|
|
173653
173652
|
continue;
|
|
173654
|
-
|
|
173655
|
-
const srcRel = relative9(process.cwd(), resolve16(entry)).replace(/\\/g, "/");
|
|
173656
|
-
content = content.replace(/import\s+Component\s+from\s+['"]([^'"]+)['"]/, `import Component from "/@src/${srcRel}"`);
|
|
173653
|
+
const content = readFileSync9(indexFile, "utf-8");
|
|
173657
173654
|
writeFileSync7(join18(devIndexDir, `${name}.svelte.js`), content);
|
|
173658
173655
|
}
|
|
173659
173656
|
}, copyVueDevIndexes = (vueDir, vuePagesPath, vueEntries, devIndexDir) => {
|
|
@@ -179187,5 +179184,5 @@ export {
|
|
|
179187
179184
|
build
|
|
179188
179185
|
};
|
|
179189
179186
|
|
|
179190
|
-
//# debugId=
|
|
179187
|
+
//# debugId=C163B4D2E7D0A6FE64756E2164756E21
|
|
179191
179188
|
//# sourceMappingURL=build.js.map
|