portapack / types / BundleMetadata
Interface: BundleMetadata
Defined in: types.ts:110
Summary statistics and metadata returned after the packing/bundling process completes.
Properties
assetCount
assetCount:
number
Defined in: types.ts:115
Total number of unique assets discovered (CSS, JS, images, fonts etc.)
buildTimeMs
buildTimeMs:
number
Defined in: types.ts:121
Elapsed build time in milliseconds
errors?
optional
errors:string
[]
Defined in: types.ts:127
Any non-critical errors or warnings encountered during bundling (e.g., asset fetch failure)
input
input:
string
Defined in: types.ts:112
Source HTML file path or URL
outputSize
outputSize:
number
Defined in: types.ts:118
Final output HTML size in bytes
pagesBundled?
optional
pagesBundled:number
Defined in: types.ts:124
If recursive bundling was performed, the number of pages successfully crawled and included