react-native-builder-bob
Version:
CLI to build JavaScript files for React Native libraries
25 lines (24 loc) • 503 B
TypeScript
export type Log = (message: string) => void;
export type Report = {
info: Log;
warn: Log;
success: Log;
error: Log;
};
export type Input = {
root: string;
source: string;
output: string;
report: Report;
};
export type Variants = {
commonjs?: boolean;
module?: boolean;
};
declare module '@babel/core' {
interface TransformCaller {
rewriteImportExtensions: boolean;
jsxRuntime: 'automatic' | 'classic';
codegenEnabled: boolean;
}
}