docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Creates a build helper that runs the bundler with explicit toggles for caching, config selection, source map output, and automatic dependency installation.
export interface BundleOptions {
entries: string[];
distDir?: string;
cacheDir?: string;
useCache?: boolean;
configPath?: string;
enableSourceMaps?: boolean;
autoInstall?: boolean;
}
export interface BundleResult {
bundles: string[];
buildTimeMs: number;
cacheDirUsed: string;
sourceMapsEmitted: boolean;
autoInstallEnabled: boolean;
}
export async function runBuild(options: BundleOptions): Promise<BundleResult>;Runs the bundler with configurable caching, config selection, source map emission, and auto-install toggles.