import merge from 'lodash/merge'

const dependencies = {}

export const registerDependencies = dep => merge(dependencies, dep)

export default dependencies

@@ -3,34 +3,180 @@
 port
+ %7B
  merge
- from 'lodash/merge'
+With, isArray %7D from 'lodash'%0A%0Afunction mergeArrays(objValue, srcValue) %7B%0A  if (isArray(objValue) && isArray(srcValue)) %7B%0A    return objValue.concat(srcValue)%0A  %7D%0A%7D
 %0A%0Aco
@@ -246,16 +246,20 @@
 =%3E merge
+With
 (depende
@@ -268,16 +268,29 @@
 ies, dep
+, mergeArrays
 )%0A%0Aexpor

Allow registerDependencies to merge with existing arrays