(children: any)
| 104 | } |
| 105 | |
| 106 | async function rscToHTML(children: any) { |
| 107 | const stream = await renderToReadableStream(children) |
| 108 | await stream.allReady |
| 109 | const response = new Response(stream) |
| 110 | const html = await response.text() |
| 111 | |
| 112 | return await prettier.format(html.replace(new RegExp("<!-- -->", "g"), ""), { |
| 113 | htmlWhitespaceSensitivity: "ignore", |
| 114 | parser: "html", |
| 115 | }) |
| 116 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…