Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 721 Bytes

DEFAULT_MERGER.md

File metadata and controls

20 lines (12 loc) · 721 Bytes

APIs Documentation


Variable: DEFAULT_MERGER

const DEFAULT_MERGER: Merger<Configuration>

Default merge rules for mergeConfig, which are:

  • exclude, excludeGlob and keepUnused arrays will be concatenated instead of replaced;
  • sortRules object will be merged instead of replaced;
  • All other fields will be replaced and the latter config takes precedence.

When creating your own merge policy, make sure to inherit the default merger and just override the ones different.

Defined in

config/merge.ts:21