@absolutejs/absolute 0.19.0-beta.91 → 0.19.0-beta.93

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.
@@ -113,12 +113,11 @@ export const handleRebuildComplete = (message: {
113
113
  window.__HMR_MANIFEST__ = message.data.manifest;
114
114
  }
115
115
 
116
- // Subprocess builds need a full page reload to pick up fresh
117
- // bundled JS (the in-process Bun.build cache was stale).
116
+ // Subprocess build: the server's manifest now points to fresh
117
+ // bundles. Reload to get the new HTML (with updated script tag)
118
+ // and let React hydrate with the fresh bundled JS.
118
119
  if (message.data.fullReload) {
119
- setTimeout(() => {
120
- window.location.reload();
121
- }, REBUILD_RELOAD_DELAY_MS);
120
+ window.location.reload();
122
121
 
123
122
  return;
124
123
  }
@@ -542,7 +542,7 @@ var result = await bunBuild2({
542
542
  ...hmr ? { jsx: { development: true }, reactFastRefresh: true } : {},
543
543
  naming: "[dir]/[name].[hash].[ext]",
544
544
  outdir: buildDir,
545
- root: resolve2(reactDir, ".."),
545
+ root: reactDir,
546
546
  splitting: true,
547
547
  target: "browser",
548
548
  throw: false