webpack-merge
Advanced tools
Changelog
4.1.4 / 2018-08-01
Changelog
4.1.0 / 2017-03-16
merge.multiple
to allow working with webpack multi-compiler mode. It accepts multiple objects and returns an array you can push to webpack. #74Changelog
4.0.0 / 2017-03-06
merge.smart
allows re-ordering loaders like below. #70merge.smart(
{
loaders: [
{
test: /\.js$/,
loaders: ["babel"],
},
],
},
{
loaders: [
{
test: /\.js$/,
loaders: ["react-hot", "babel"],
},
],
},
);
// will become
{
loaders: [
{
test: /\.js$/,
// order of second argument is respected
loaders: ["react-hot", "babel"],
},
];
}
Changelog
3.0.0 / 2017-02-19
merge.smart
should not merge a child missing include
/exclude
to a parent that has either. This is safer and more predictable behavior than the old one. #69Changelog
2.6.1 / 2017-01-29
merge.smart
should not merge rules that have differing enforce
fields. #65