writeOutputStaticFiles(unnamed 0: { projectRoot: string; output: string; },htmlAssets: HtmlAssets): Promise<void>
Copies static HTML files and referenced assets from the project into the configured output directory.
import type { HtmlAssets } from '../types.ts'; // Defined, not invoked: writes into the real output directory. async function example(htmlAssets: HtmlAssets) { await writeOutputStaticFiles({ projectRoot: '/proj', output: 'tmp' }, htmlAssets); // each static HTML + referenced asset now lives under /proj/tmp/ }
htmlAssets: HtmlAssets