UNPKG

@expo/metro-config

Version:

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

10 lines (9 loc) 541 B
/** * Copyright 2023-present 650 Industries (Expo). All rights reserved. * 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. */ import type { JsTransformerConfig, JsTransformOptions, TransformResponse } from 'metro-transform-worker'; export declare function transform(config: JsTransformerConfig, projectRoot: string, filename: string, data: Buffer, options: JsTransformOptions): Promise<TransformResponse>;