UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

10 lines (9 loc) 442 B
import { Bundler } from '../binding'; import type { InputOptions } from '../options/input-options'; import type { OutputOptions } from '../options/output-options'; export declare function createBundler(inputOptions: InputOptions, outputOptions: OutputOptions, isClose?: boolean): Promise<BundlerWithStopWorker>; export interface BundlerWithStopWorker { bundler: Bundler; stopWorkers?: () => Promise<void>; shutdown: () => void; }