@alicloud/console-toolkit-preset-component
Version:
console toolkit preset for component
14 lines (13 loc) • 574 B
TypeScript
import { IOptionalOptions } from 'babel-preset-breezr/lib/types';
import { IOption } from './type/options';
export declare function getBabelOptions(config: IOption, presetOptions?: IOptionalOptions): {
presets: (string | {
env?: string | undefined;
proposal?: import("babel-preset-breezr/lib/types").IProposal | undefined;
useInternalRuntime?: boolean | undefined;
typescript?: boolean | undefined;
module?: string | boolean | undefined;
esModules?: boolean | undefined;
})[][];
plugins: (string | object)[][];
};