@react-native/metro-config
Version:
Metro configuration for React Native.
23 lines (17 loc) • 602 B
Flow
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/
import type { ConfigT, InputConfigT } from "metro-config";
export type { MetroConfig } from "metro-config";
export { mergeConfig } from "metro-config";
declare export function setFrameworkDefaults(config: InputConfigT): void;
/**
* Get the base Metro configuration for a React Native project.
*/
declare export function getDefaultConfig(projectRoot: string): ConfigT;