This commit is contained in:
2026-04-18 11:17:13 +01:00
parent 9a427412f3
commit b2e92e5792
24 changed files with 134 additions and 45 deletions
@@ -20,8 +20,9 @@ export default async function allPagesESBuildContextBundler(params) {
const tsx = await grabClientHydrationScript({
page_local_path: page.local_path,
});
if (!tsx)
if (!tsx) {
continue;
}
const entryFile = path.join(BUNX_HYDRATION_SRC_DIR, `${page.url_path}.tsx`);
// await Bun.write(entryFile, txt, { createPath: true });
entryToPage.set(entryFile, { ...page, tsx });