in scripts/generateTemplates.js [380:391]
function ObjectAssign(target, ...sources) {
sources.forEach(source => {
Object.keys(source).forEach(key => {
const sourceVal = source[key];
const targetVal = target[key];
target[key] = targetVal && sourceVal && typeof targetVal === 'object' && typeof sourceVal === 'object'
? ObjectAssign(targetVal, sourceVal)
: sourceVal
});
});
return target;
}