UNPKG

@rozenite/repack

Version:
16 lines (12 loc) 555 B
import { RepackRspackConfigExport } from '@callstack/repack'; import { RozeniteConfig } from '@rozenite/middleware'; export declare type RozeniteRePackConfig = { /** * Whether to enable Rozenite. * If false, Rozenite will not be initialized and the config will be returned as is. * @default false */ enabled?: boolean; } & Omit<RozeniteConfig, 'projectRoot'>; export declare const withRozenite: (config: RepackRspackConfigExport, rozeniteConfig?: RozeniteRePackConfig) => RepackRspackConfigExport; export { }