Skip to content

Commit

Permalink
chore: Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bebraw committed Oct 7, 2020
1 parent d0d50d4 commit 5d11101
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.2.0 / 2020-10-07

- Feature - Support advanced merging cases through `mergeWithRules` #146 #149

## 5.1.4 / 2020-09-09

- Fix - Expose `CustomizeRule` for TypeScript users #147
Expand Down Expand Up @@ -102,17 +106,17 @@ merge.smart(
loaders: [
{
test: /\.js$/,
loaders: ["babel"],
},
],
loaders: ["babel"]
}
]
},
{
loaders: [
{
test: /\.js$/,
loaders: ["react-hot", "babel"],
},
],
loaders: ["react-hot", "babel"]
}
]
}
);
// will become
Expand All @@ -121,8 +125,8 @@ merge.smart(
{
test: /\.js$/,
// order of second argument is respected
loaders: ["react-hot", "babel"],
},
loaders: ["react-hot", "babel"]
}
];
}
```
Expand Down Expand Up @@ -183,10 +187,10 @@ const output = merge.smartStrategy(

```javascript
const a = {
entry: ["foo"],
entry: ["foo"]
};
const b = {
entry: [],
entry: []
};

merge(a, b); // Yields a result, not b like before.
Expand Down

0 comments on commit 5d11101

Please sign in to comment.