22 lines
708 B
TypeScript
22 lines
708 B
TypeScript
import type { TransformOptions } from './babel-core';
|
|
export type ExpoBabelCaller = TransformOptions['caller'] & {
|
|
babelRuntimeVersion?: string;
|
|
metroSourceType?: 'script' | 'module' | 'asset';
|
|
supportsReactCompiler?: boolean;
|
|
isReactServer?: boolean;
|
|
isHMREnabled?: boolean;
|
|
isServer?: boolean;
|
|
isNodeModule?: boolean;
|
|
preserveEnvVars?: boolean;
|
|
isDev?: boolean;
|
|
asyncRoutes?: boolean;
|
|
baseUrl?: string;
|
|
engine?: string;
|
|
bundler?: 'metro' | (string & object);
|
|
platform?: string | null;
|
|
routerRoot?: string;
|
|
projectRoot: string;
|
|
/** When true, indicates this bundle should contain only the loader export */
|
|
isLoaderBundle?: boolean;
|
|
};
|