Used when importing an HTML file at runtime or at build time.
Bun.HTMLBundle TypeScript interface | API Reference | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/HTMLBundlePfilesPindex BuildDocsReferenceGuidesBlogDiscord /Bun/HTMLBundlePfilesPindex HTMLBundleinterface HTMLBundle files?: { headers: { content-type: string; etag: string }; input: string; isEntry: boolean; loader: Loader; path: string }[] index: string
Search the reference...
/
interface
import app from "./index.html";
Array of generated output files with metadata. This only exists when built ahead of time with Bun.build or bun build
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Bun.HTMLBundle TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Used when importing an HTML file at runtime or at build time.