diff --git a/packages/vinext/src/cloudflare/index.ts b/packages/vinext/src/cloudflare/index.ts index 175d6d1ff..a17d116ae 100644 --- a/packages/vinext/src/cloudflare/index.ts +++ b/packages/vinext/src/cloudflare/index.ts @@ -5,4 +5,4 @@ */ export { KVCacheHandler } from "./kv-cache-handler.js"; -export { runTPR, type TPROptions, type TPRResult } from "./tpr.js"; +export { runTPR } from "./tpr.js"; diff --git a/packages/vinext/src/entries/app-ssr-entry.ts b/packages/vinext/src/entries/app-ssr-entry.ts index 6c0057c10..c76430f9a 100644 --- a/packages/vinext/src/entries/app-ssr-entry.ts +++ b/packages/vinext/src/entries/app-ssr-entry.ts @@ -21,26 +21,6 @@ import * as _clientRefs from "virtual:vite-rsc/client-references"; let _clientRefsPreloaded = false; -/** - * Collect all chunks from a ReadableStream into an array of text strings. - * Used to capture the RSC payload for embedding in HTML. - * The RSC flight protocol is text-based (line-delimited key:value pairs), - * so we decode to text strings instead of byte arrays — this is dramatically - * more compact when JSON-serialized into inline