Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 13, 2022
1 parent 78185f6 commit 54f1c57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export const deepMerge = function (objects) {
return deepmerge.all(objects, { arrayMerge })
}

// Override arrays instead of concatenating
// Override arrays instead of concatenating.
// This includes array of objects as this is simpler for users.
const arrayMerge = function (arrayA, arrayB) {
return arrayB
}

0 comments on commit 54f1c57

Please sign in to comment.