UNPKG

343 BTypeScriptView Raw
1import type { BundleOptions } from './types';
2export interface BabelOptions {
3 cwd: string;
4 rootPath?: string;
5 type: 'esm' | 'cjs';
6 target?: 'browser' | 'node';
7 watch?: boolean;
8 verbose?: boolean;
9 bundleOpt: BundleOptions;
10}
11declare function babelBuild(opts: BabelOptions): Promise<void>;
12export default babelBuild;