webpack-merge
Advanced tools
Changelog
1.1.2 / 2016-12-18
merge({ entry: {} })
should return the same result as input instead of a function.Changelog
1.1.1 / 2016-12-11
merge([<object>])
format. This works with all available functions. #46Changelog
1.1.0 / 2016-12-09
merge
behavior to be customized with overrides. Example:var output = merge({
customizeArray(a, b, key) { return [...a, ...b]; },
customizeObject(a, b, key) { return mergeWith(a, b); }
})(object1, object2, object3, ...);
This allows you to guarantee array uniqueness and so on.
Changelog
1.0.0 / 2016-11-28
Changelog
0.20.0 / 2016-11-27
postcss
in mind. It executes the functions, picks their results, and packs them again.Changelog
0.19.0 / 2016-11-26
merge.strategy
. It literally replaces the old field value with the newer one. #40Changelog
0.18.0 / 2016-11-24
merge.strategy
. Example:var output = merge.strategy({
entry: 'prepend',
'module.loaders': 'prepend'
})(object1, object2, object3, ...);
merge.smartStrategy
. This combines the ideas of merge.smart
and merge.strategy
into one. Example:var output = merge.smartStrategy({
entry: 'prepend',
'module.loaders': 'prepend'
})(object1, object2, object3, ...);