@absolutejs/absolute 0.19.0-beta.225 → 0.19.0-beta.226
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/.absolutejs/vue-tsc.tsbuildinfo +1 -1
- package/.claude/settings.local.json +2 -1
- package/dist/angular/index.js +13 -3
- package/dist/angular/index.js.map +3 -3
- package/dist/build.js +17 -3
- package/dist/build.js.map +4 -4
- package/dist/index.js +17 -3
- package/dist/index.js.map +4 -4
- package/dist/react/index.js +13 -3
- package/dist/react/index.js.map +3 -3
- package/dist/svelte/index.js +13 -3
- package/dist/svelte/index.js.map +3 -3
- package/dist/vue/index.js +13 -3
- package/dist/vue/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -241,7 +241,12 @@ var CONVENTIONS_KEY = "__absoluteConventions", getMap = () => globalThis[CONVENT
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
} catch (renderError) {
|
|
244
|
-
|
|
244
|
+
const message = renderError instanceof Error ? renderError.message : "";
|
|
245
|
+
if (message.includes("Cannot find module") || message.includes("Cannot find package") || message.includes("not found in module")) {
|
|
246
|
+
console.error(`[SSR] Convention error page for ${framework} failed: missing framework package. Ensure the ${framework} runtime is installed (e.g. bun add ${framework === "react" ? "react react-dom" : framework}).`);
|
|
247
|
+
} else {
|
|
248
|
+
console.error(`[SSR] Failed to render ${framework} convention error page:`, renderError);
|
|
249
|
+
}
|
|
245
250
|
}
|
|
246
251
|
return null;
|
|
247
252
|
}, renderConventionNotFound = async (framework) => {
|
|
@@ -305,7 +310,12 @@ var CONVENTIONS_KEY = "__absoluteConventions", getMap = () => globalThis[CONVENT
|
|
|
305
310
|
}
|
|
306
311
|
}
|
|
307
312
|
} catch (renderError) {
|
|
308
|
-
|
|
313
|
+
const message = renderError instanceof Error ? renderError.message : "";
|
|
314
|
+
if (message.includes("Cannot find module") || message.includes("Cannot find package") || message.includes("not found in module")) {
|
|
315
|
+
console.error(`[SSR] Convention not-found page for ${framework} failed: missing framework package. Ensure the ${framework} runtime is installed (e.g. bun add ${framework === "react" ? "react react-dom" : framework}).`);
|
|
316
|
+
} else {
|
|
317
|
+
console.error(`[SSR] Failed to render ${framework} convention not-found page:`, renderError);
|
|
318
|
+
}
|
|
309
319
|
}
|
|
310
320
|
return null;
|
|
311
321
|
}, NOT_FOUND_PRIORITY, renderFirstNotFound = async () => {
|
|
@@ -172388,6 +172398,10 @@ ${content.slice(firstUseIdx)}`;
|
|
|
172388
172398
|
conventionsMap.vue = vueConventionResult.conventions;
|
|
172389
172399
|
if (angularConventionResult.conventions)
|
|
172390
172400
|
conventionsMap.angular = angularConventionResult.conventions;
|
|
172401
|
+
const notFoundFrameworks = ["react", "svelte", "vue", "angular"].filter((fw) => conventionsMap[fw]?.defaults?.notFound);
|
|
172402
|
+
if (notFoundFrameworks.length > 1) {
|
|
172403
|
+
logWarn(`Multiple frameworks define not-found convention files: ${notFoundFrameworks.join(", ")}. Only one will be used (priority: ${notFoundFrameworks[0]}). Remove not-found files from other frameworks to avoid ambiguity.`);
|
|
172404
|
+
}
|
|
172391
172405
|
const shouldIncludeHtmlAssets = !isIncremental || normalizedIncrementalFiles?.some((f) => f.includes("/html/") && (f.endsWith(".html") || f.endsWith(".css")));
|
|
172392
172406
|
const reactEntries = isIncremental && reactIndexesPath && reactPagesPath ? filterToIncrementalEntries(allReactEntries, (entry) => {
|
|
172393
172407
|
if (entry.startsWith(resolve13(reactIndexesPath))) {
|
|
@@ -178337,5 +178351,5 @@ export {
|
|
|
178337
178351
|
ANGULAR_INIT_TIMEOUT_MS
|
|
178338
178352
|
};
|
|
178339
178353
|
|
|
178340
|
-
//# debugId=
|
|
178354
|
+
//# debugId=AA462DEA6D9AAA0164756E2164756E21
|
|
178341
178355
|
//# sourceMappingURL=index.js.map
|