Type alias: DestinationMatchRules

plugins.DestinationMatchRules

Ƭ DestinationMatchRules: Object

Matching options to check if given DestinationConfig should be used.

Type declaration

Name Type Description
exclude? Rule | Rule[] Rule (string or RegExp) that MUST NOT match the chunk name (or id if name is not available), for the whole DestinationMatchRules to match.
include? Rule | Rule[] Rule (string or RegExp) that must match the chunk name (or id if name is not available), for the whole DestinationMatchRules to match.
test? Rule | Rule[] Rule (string or RegExp) that must match the chunk name (or id if name is not available), for the whole DestinationMatchRules to match.

Defined in

packages/repack/src/webpack/plugins/OutputPlugin.ts:10