@babel/preset-react
Version:
Babel preset for all React plugins.
16 lines (13 loc) • 458 B
TypeScript
import * as _babel_core from '@babel/core';
interface Options {
development?: boolean;
developmentSourceSelf?: boolean;
importSource?: string;
pragma?: string;
pragmaFrag?: string;
pure?: string;
runtime?: "automatic" | "classic";
throwIfNamespace?: boolean;
}
declare const _default: (api: _babel_core.PresetAPI, options: Options, dirname: string) => _babel_core.PresetObject;
export { type Options, _default as default };