@callstack/repack-plugin-reanimated
Version:
A plugin for @callstack/repack that integrates react-native-reanimated
12 lines (11 loc) • 492 B
TypeScript
import type { LoaderContext } from '@rspack/core';
interface ReanimatedLoaderOptions {
babelPlugins?: string[];
}
interface ReanimatedLoaderData {
skip?: boolean;
}
export declare const raw = false;
export default function reanimatedLoader(this: LoaderContext<ReanimatedLoaderOptions>, source: string): void;
export declare function pitch(this: LoaderContext<ReanimatedLoaderOptions>, _remainingRequest: string, _previousRequest: string, data: ReanimatedLoaderData): void;
export {};