@memberjunction/react-runtime
Version:
Platform-agnostic React component runtime for MemberJunction. Provides core compilation, registry, and execution capabilities for React components in any JavaScript environment.
40 lines • 1.02 kB
TypeScript
export declare const DEFAULT_PRESETS: string[];
export declare const DEFAULT_PLUGINS: string[];
export declare const PRODUCTION_CONFIG: {
presets: string[];
plugins: string[];
minified: boolean;
comments: boolean;
};
export declare const DEVELOPMENT_CONFIG: {
presets: string[];
plugins: string[];
sourceMaps: string;
minified: boolean;
comments: boolean;
};
export declare function getBabelConfig(production?: boolean): {
presets: string[];
plugins: string[];
minified: boolean;
comments: boolean;
};
export declare function validateBabelPresets(babel: any): boolean;
export declare const JSX_PRAGMAS: {
classic: {
pragma: string;
pragmaFrag: string;
};
automatic: {
runtime: string;
importSource: string;
};
};
export declare function getJSXConfig(reactVersion?: string): {
pragma: string;
pragmaFrag: string;
} | {
runtime: string;
importSource: string;
};
//# sourceMappingURL=babel-config.d.ts.map