@callstack/repack-plugin-expo-modules
Version:
A plugin for @callstack/repack that integrates Expo Modules
18 lines (17 loc) • 582 B
TypeScript
import type { Compiler as RspackCompiler } from '@rspack/core';
import type { Compiler as WebpackCompiler } from 'webpack';
interface ExpoModulesPluginOptions {
/**
* Target application platform (e.g. `ios`, `android`).
*
* By default, the platform is inferred from `compiler.options.name` which is set by Re.Pack.
*/
platform?: string;
}
export declare class ExpoModulesPlugin {
private options;
constructor(options?: ExpoModulesPluginOptions);
apply(compiler: RspackCompiler): void;
apply(compiler: WebpackCompiler): void;
}
export {};