UNPKG

@expo/metro-config

Version:

A Metro config for running React Native projects with the Metro bundler

9 lines (8 loc) 429 B
import { BabelTransformerArgs } from 'metro-babel-transformer'; export declare function transform({ filename, options, }: { filename: string; options: Pick<BabelTransformerArgs['options'], 'platform' | 'projectRoot' | 'customTransformOptions' | 'publicPath'>; }, assetRegistryPath: string, assetDataPlugins: readonly string[]): Promise<{ ast: import('@babel/core').ParseResult; reactClientReference?: string; }>;