ts-packager
Version:
TypeScript npm packager
11 lines (10 loc) • 419 B
TypeScript
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>;