|
@@ -137,7 +137,7 @@ exports.produceConfigObject = function (root, callback) {
|
|
|
var json = JSON.parse(JSON.stringify(require(file)));
|
|
|
transformShimDeps(json);
|
|
|
transformPaths(json, root, file, dirMap);
|
|
|
- _.merge(result, json, function (a, b) {
|
|
|
+ _.mergeWith(result, json, function (a, b) {
|
|
|
return _.isArray(a) ? b.concat(a) : undefined;
|
|
|
});
|
|
|
}
|