Skip to main content
webpack / RuleSetUseFunction

Type Alias: RuleSetUseFunction()

RuleSetUseFunction = (data) => string | RuleSetUseFunction | { ident?: string; loader?: string; options?: string | {[index: string]: any; }; } | (undefined | null | string | false | 0 | RuleSetUseFunction | { ident?: string; loader?: string; options?: string | {[index: string]: any; }; })[]
Defined in: webpack/types.d.ts:20102

Parameters

data

EffectData

Returns

string RuleSetUseFunction { ident?: string; loader?: string; options?: string | {[index: string]: any; }; }

ident?

optional ident: string
Unique loader options identifier.

loader?

optional loader: string
Loader name.

options?

optional options: string | {[index: string]: any; }
Loader options. (undefined | null | string | false | 0 | RuleSetUseFunction | { ident?: string; loader?: string; options?: string | {[index: string]: any; }; })[]