(projectDir: string)
| 196 | } |
| 197 | |
| 198 | async function bundleProjectHtml(projectDir: string): Promise<string> { |
| 199 | // `bundleToSingleHtml` now inlines the runtime IIFE by default, so the |
| 200 | // previous post-bundle runtime substitution is no longer needed. |
| 201 | const { bundleToSingleHtml } = await import("@hyperframes/core/compiler"); |
| 202 | return bundleToSingleHtml(projectDir); |
| 203 | } |
| 204 | |
| 205 | async function alignViewportToComposition( |
| 206 | page: import("puppeteer-core").Page, |
no test coverage detected