rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
12 lines (11 loc) • 692 B
TypeScript
import type { RolldownOutput } from '../types/rolldown-output';
import type { OutputBundle } from '../types/output-bundle';
import type { BindingOutputs, JsChangedOutputs } from '../binding';
export declare function transformToRollupOutput(output: BindingOutputs, changed?: ChangedOutputs): RolldownOutput;
export declare function handleOutputErrors(output: BindingOutputs): void;
export declare function transformToOutputBundle(output: BindingOutputs, changed: ChangedOutputs): OutputBundle;
export interface ChangedOutputs {
updated: Set<string>;
deleted: Set<string>;
}
export declare function collectChangedBundle(changed: ChangedOutputs, bundle: OutputBundle): JsChangedOutputs;