From 5d111013c432ee7be148fc48f9296aba2b6daebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20Veps=C3=A4l=C3=A4inen?= Date: Wed, 7 Oct 2020 11:27:49 +0200 Subject: [PATCH] chore: Update changelog --- CHANGELOG.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb9b7a..324e420 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 @@ -121,8 +125,8 @@ merge.smart( { test: /\.js$/, // order of second argument is respected - loaders: ["react-hot", "babel"], - }, + loaders: ["react-hot", "babel"] + } ]; } ``` @@ -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.