webpack-merge
Advanced tools
Changelog
5.1.0 / 2020-08-03
merge
as default
for backwards-compatibility with TypeScript. Now import merge from "webpack-merge";
works there. In CommonJS, the default alias is exposed through default
property due to technical constraints.Changelog
5.0.9 / 2020-07-09
merge()
and merge([])
. Now {}
is returned in these corner cases.Changelog
5.0.3 / 2020-07-06
merge.smart
has been dropped as it's tricky to support all the corner cases. Instead, it's better to use the provided utilities to put together a merge
that fits your case.mergeStrategy
has been dropped in favor of using mergeWithCustomize
with customizeArray
and customizeObject
.merge.multiple
has been dropped as the functionality was too specific and it's better to implement in the user space if needed.merge
has been moved as a regular import (i.e. import { merge } from 'webpack-merge'
).mergeWithCustomize
.customizeArray
supports wildcards now. Example: 'entry.*': 'prepend'
. #45 #99Promise
is being merged. It's better to wrap configuration within a Promise
and merge inside it. #81unique
merge from right to left to match behavior elsewhere. #119unique
doesn't lose non-unique items to merge. #125Special thanks to Google and Addy Osmani for supporting the work financially as it allowed me to complete the work required by the new major release.