@absolutejs/absolute 0.19.0-beta.1056 → 0.19.0-beta.1058
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 +14 -8
- package/dist/build.js.map +4 -4
- package/dist/index.js +14 -8
- package/dist/index.js.map +4 -4
- package/dist/vue/index.js +80 -78
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +17 -15
- package/dist/vue/server.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23886,12 +23886,6 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
23886
23886
|
" }",
|
|
23887
23887
|
"});",
|
|
23888
23888
|
"",
|
|
23889
|
-
"// During HMR or after SSR dirty, use createApp (fresh mount) to avoid hydration mismatch with stale DOM",
|
|
23890
|
-
'const isHMR = typeof window !== "undefined" && sessionStorage.getItem("__HMR_ACTIVE__");',
|
|
23891
|
-
'const isSsrDirty = typeof window !== "undefined" && window.__SSR_DIRTY__;',
|
|
23892
|
-
'const shouldHydrate = typeof window === "undefined" ? false : !(isHMR || isSsrDirty);',
|
|
23893
|
-
"const app = shouldHydrate ? createSSRApp(Comp, mergedProps) : createApp(Comp, mergedProps);",
|
|
23894
|
-
"",
|
|
23895
23889
|
"// `setupApp` hook. Reflect.get hides the lookup from Bun's",
|
|
23896
23890
|
"// static analyzer so non-SPA pages without it don't trigger",
|
|
23897
23891
|
'// "always undefined" warnings. Pages that export `routes`',
|
|
@@ -23901,6 +23895,17 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
23901
23895
|
"// provide/inject symbols match between the router and the",
|
|
23902
23896
|
"// page's `useRoute()` calls.",
|
|
23903
23897
|
'const setupAppHook = Reflect.get(PageModule, "setupApp");',
|
|
23898
|
+
'const hasSpaRoutes = Array.isArray(Reflect.get(PageModule, "routes"));',
|
|
23899
|
+
"",
|
|
23900
|
+
"// During HMR, after SSR dirty, or for routed SPA shells, use",
|
|
23901
|
+
"// createApp (fresh mount) to avoid hydration attaching event",
|
|
23902
|
+
"// listeners to stale SSR nodes. The router still handles",
|
|
23903
|
+
"// client-side navigation after mount.",
|
|
23904
|
+
'const isHMR = typeof window !== "undefined" && sessionStorage.getItem("__HMR_ACTIVE__");',
|
|
23905
|
+
'const isSsrDirty = typeof window !== "undefined" && window.__SSR_DIRTY__;',
|
|
23906
|
+
'const shouldHydrate = typeof window === "undefined" ? false : !(isHMR || isSsrDirty || hasSpaRoutes);',
|
|
23907
|
+
"const app = shouldHydrate ? createSSRApp(Comp, mergedProps) : createApp(Comp, mergedProps);",
|
|
23908
|
+
"",
|
|
23904
23909
|
"async function bootstrapApp() {",
|
|
23905
23910
|
' if (typeof setupAppHook === "function") {',
|
|
23906
23911
|
' const clientUrl = typeof window !== "undefined"',
|
|
@@ -31207,7 +31212,8 @@ ${content.slice(firstUseIdx)}`;
|
|
|
31207
31212
|
const childArtifact = serverJsByPascalName.get(childName);
|
|
31208
31213
|
if (!childArtifact)
|
|
31209
31214
|
return [];
|
|
31210
|
-
const
|
|
31215
|
+
const absoluteCssPath = childArtifact.path.replace(/\.js$/, ".css");
|
|
31216
|
+
const cssPath = relative14(dirname20(parentArtifact.path), absoluteCssPath);
|
|
31211
31217
|
return [{ cssPath, path }];
|
|
31212
31218
|
});
|
|
31213
31219
|
if (entries.length === 0)
|
|
@@ -46572,5 +46578,5 @@ export {
|
|
|
46572
46578
|
ANGULAR_INIT_TIMEOUT_MS
|
|
46573
46579
|
};
|
|
46574
46580
|
|
|
46575
|
-
//# debugId=
|
|
46581
|
+
//# debugId=2067581091BE8F3964756E2164756E21
|
|
46576
46582
|
//# sourceMappingURL=index.js.map
|