MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / bundleProjectHtml

Function bundleProjectHtml

packages/cli/src/commands/layout.ts:198–203  ·  view source on GitHub ↗
(projectDir: string)

Source from the content-addressed store, hash-verified

196}
197
198async 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
205async function alignViewportToComposition(
206 page: import("puppeteer-core").Page,

Callers 1

runLayoutAuditFunction · 0.85

Calls 1

bundleToSingleHtmlFunction · 0.85

Tested by

no test coverage detected