On this page

These types are not exported by webpack, but they are available to TypeScript consumers.

Logic operators used in a condition matcher.

Attributes
[] Logical AND.
[] Logical OR.

Logic operators used in a condition matcher.

Attributes

A rule description with conditions and effects for modules.





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

<string>


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


<RuleSetUseFunction>


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

Attributes
ident:<string>
Unique loader options identifier.
loader:<string>
Loader name.
options:
{string | { [index: string]: any }} Loader options.

Attributes
Returns:
{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 } })[]}

Attributes
Returns:
{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 } })[]}

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

<string>


<RuleSetUseFunction>


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

Attributes
ident:<string>
Unique loader options identifier.
loader:<string>
Loader name.
options:
{string | { [index: string]: any }} Loader options.