flipper-babel-transformer
Version:
Babel transformer for Flipper plugins
29 lines • 770 B
TypeScript
/**
* 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.
*
* @format
*/
export default function transform({ filename, options, src, presets, plugins, }: {
filename: string;
options: any;
src: string;
presets?: any[];
plugins?: any[];
}): {
ast: import("@babel/types").File | null | undefined;
code: string;
filename: string;
map: {
version: number;
sources: string[];
names: string[];
sourceRoot?: string | undefined;
sourcesContent?: string[] | undefined;
mappings: string;
file: string;
} | null;
};
//# sourceMappingURL=transform.d.ts.map