src/helpers/merge.js
import mergeOptions from 'merge-options';
/**
* Merges two configuration objects.
*
* @param {!Object} a - Configuration object to base the merge on.
* @param {!Object} b - Configuration object that is merged into the first, overwriting the first one.
*
* @returns {Object} - The merged configuration object
*/
export default function merge(a, b) {
return mergeOptions(a, b);
}