MCPcopy
hub / github.com/dilanx/craco / deepMergeWithArray

Function deepMergeWithArray

packages/craco/src/lib/utils.ts:19–25  ·  view source on GitHub ↗
(dest: any, ...src: any)

Source from the content-addressed store, hash-verified

17}
18
19export function deepMergeWithArray(dest: any, ...src: any) {
20 return mergeWith(dest, ...src, (x: any, y: any) => {
21 if (isArray(x)) {
22 return x.concat(y);
23 }
24 });
25}

Callers 9

processCracoConfigFunction · 0.90
giveTotalControlFunction · 0.90
extendsEslintConfigFunction · 0.90
applyPluginOptionsFunction · 0.90
applyLoaderOptionsFunction · 0.90
extendsPostcssFunction · 0.90
applyLoaderOptionsFunction · 0.90
applyLoaderOptionsFunction · 0.90
applyLoaderOptionsFunction · 0.90

Calls 1

isArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…