UNPKG

react-native-unistyles

Version:
18 lines 815 B
import { getModulePaths } from '@callstack/repack'; import type { Compiler, RspackPluginInstance } from '@rspack/core'; import type { UnistylesPluginOptions } from 'react-native-unistyles/plugin'; import { unistylesLoader } from './loader'; export declare const BASE_REPACK_EXCLUDE_PATHS: RegExp[]; type RuleExcludePaths = ReturnType<typeof getModulePaths>; interface ConstructorParams { ruleExcludePaths?: RuleExcludePaths; unistylesPluginOptions?: UnistylesPluginOptions; } export declare class RepackUnistylePlugin implements RspackPluginInstance { private ruleExcludePaths; private unistylesPluginOptions; constructor({ ruleExcludePaths, unistylesPluginOptions }?: ConstructorParams); apply(compiler: Compiler): void; } export default unistylesLoader; //# sourceMappingURL=index.d.ts.map