portapack / types / BundleOptions
Interface: BundleOptions
Defined in: types.ts:62
Configuration options provided by the user via CLI or API call. Controls various aspects of the bundling process.
Extended by
Properties
baseUrl?
optional
baseUrl:string
Defined in: types.ts:76
Base URL for resolving relative links, especially for remote fetches or complex local structures
dryRun?
optional
dryRun:boolean
Defined in: types.ts:82
Skip writing output file to disk (CLI dry-run mode)
embedAssets?
optional
embedAssets:boolean
Defined in: types.ts:64
Embed all discovered assets as data URIs (default: true)
logLevel?
optional
logLevel:LogLevel
Defined in: types.ts:91
Log level for the internal logger
minifyCss?
optional
minifyCss:boolean
Defined in: types.ts:70
Enable CSS minification using clean-css (default: true)
minifyHtml?
optional
minifyHtml:boolean
Defined in: types.ts:67
Enable HTML minification using html-minifier-terser (default: true)
minifyJs?
optional
minifyJs:boolean
Defined in: types.ts:73
Enable JavaScript minification using terser (default: true)
output?
optional
output:string
Defined in: types.ts:88
Optional output file path override (CLI uses this)
recursive?
optional
recursive:number
|boolean
Defined in: types.ts:85
Enable recursive crawling. If a number, specifies max depth. If true, uses default depth.
verbose?
optional
verbose:boolean
Defined in: types.ts:79
Enable verbose logging during CLI execution