(ctx: FetchEvent)
| 16 | } |
| 17 | |
| 18 | async function createPageEvent(ctx: FetchEvent) { |
| 19 | const manifest = getSsrManifest("ssr"); |
| 20 | const pageEvent: PageEvent = Object.assign(ctx, { |
| 21 | manifest: "json" in manifest ? await manifest.json() : {}, |
| 22 | assets: await manifest.getAssets(import.meta.env.START_CLIENT_ENTRY), |
| 23 | routes: [], |
| 24 | complete: false, |
| 25 | $islands: new Set<string>(), |
| 26 | }); |
| 27 | |
| 28 | return pageEvent; |
| 29 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…