| 1 | // The entire fixture: a single client module referenced by index.html. |
| 2 | // There is no vite.config.ts and no plugins, so the Cloudflare Vite plugin |
| 3 | // resolves the project as `appType: "spa"` with no worker entry — which means |
| 4 | // it declares no `builder.buildApp`. On Vite 8 that is the code path where a |
| 5 | // post-order `buildApp` hook fires before the client environment builds, so |
| 6 | // this fixture is the minimal reproduction for issue #792. |
| 7 | const el = document.getElementById("app"); |
| 8 | if (el) { |
| 9 | el.textContent = `${el.textContent} (hydrated)`; |
| 10 | } |