A rule description with conditions and effects for modules.
{ [index: string]: RuleSetConditionOrConditions }Match on import assertions of the dependency.
string | RegExp | RuleSetLogicalConditions | ((value: string) => boolean) | RuleSetCondition[]Match the child compiler name.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match dependency type.
{ [index: string]: RuleSetConditionOrConditions }Match values of properties in the description file (usually package.json).
"pre" | "post"Enforce this rule as pre or post step.
string | RegExp | RuleSetLogicalConditionsAbsolute | ((value: string) => boolean) | RuleSetConditionAbsolute[]Shortcut for resource.exclude.
booleanEnable/Disable extracting source map.
The options for the module generator.
string | RegExp | RuleSetLogicalConditionsAbsolute | RuleSetConditionAbsolute[] | ((value: string) => boolean)Shortcut for resource.include.
string | RegExp | RuleSetLogicalConditionsAbsolute | RuleSetConditionAbsolute[] | ((value: string) => boolean)Match the issuer of the module (The module pointing to this module).
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match layer of the issuer of this module (The module pointing to this module).
stringSpecifies the layer in which the module should be placed in.
stringShortcut for use.loader.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match module mimetype when load from Data URI.
(false | "" | 0 | RuleSetRule | null | undefined)[]Only execute the first matching rule in this array.
Shortcut for use.options.
Options for parsing.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match the import phase of the dependency.
string | RegExp | RuleSetLogicalConditionsAbsolute | RuleSetConditionAbsolute[] | ((value: string) => boolean)Match the real resource path of the module.
ResolveOptionsOptions for the resolver.
string | RegExp | RuleSetLogicalConditionsAbsolute | RuleSetConditionAbsolute[] | ((value: string) => boolean)Match the resource path of the module.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match the resource fragment of the module.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match the resource query of the module.
(false | "" | 0 | RuleSetRule | null | undefined)[]Match and execute these rules when this rule is matched.
string | RegExp | RuleSetLogicalConditions | RuleSetCondition[] | ((value: string) => boolean)Match module scheme.
booleanFlags a module as with or without side effects.
string | RegExp | RuleSetLogicalConditionsAbsolute | RuleSetConditionAbsolute[] | ((value: string) => boolean)Shortcut for resource.test.
stringModule type to use for the module.
Modifiers applied to the module when rule is matched.
stringUnique loader options identifier.
stringLoader name.
Loader options.
{ [index: string]: RuleSetConditionOrConditions }Match on import attributes of the dependency.