UNPKG

ts-packager

Version:
11 lines (10 loc) 419 B
export declare type BundleFunction = (filename: any, outdir: any) => void; export declare type BundleMap = Record<string, boolean | string | BundleFunction>; /** * Bundle the project files * * @param files Bundle map * @param outdir (Optional) Output directory path (relative). Defaults to * the environment buildDir */ export declare function bundle(files: BundleMap, outdir?: string): Promise<void>;