1 | import { PluginItem } from '@babel/core';
|
2 | import { ModuleFormat } from 'rollup';
|
3 | import type { BundleOptions } from './types';
|
4 | export declare type GetBabelConfigOptions = {
|
5 | target: BundleOptions['target'];
|
6 | type?: ModuleFormat;
|
7 | typescript?: boolean;
|
8 | runtimeHelpers?: boolean;
|
9 | verbose?: boolean;
|
10 | lazy?: boolean;
|
11 | cwd?: string;
|
12 | };
|
13 | export default function getBabelConfig(opts: GetBabelConfigOptions): {
|
14 | presets: PluginItem[];
|
15 | plugins: PluginItem[];
|
16 | };
|