From ca00f697a1e701ee6a44504ed255e9b600665135 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Tue, 3 May 2022 12:48:08 -0400 Subject: [PATCH] fix(docs): _.merge doesn't concat arrays - it's a deep merge that merges them by index - the rest of the docs are accurate, just this one mention was incorrect - eventually should move to shallow merge/replace arrays to better reflect how `tsconfig` `extends` works, but just fix the docs for now --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4f1f0e5..298df0e1 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ See [#108](https://github.com/ezolenko/rollup-plugin-typescript2/issues/108) ] ``` - This is a [deep merge](https://lodash.com/docs/4.17.4#merge) (objects are merged, arrays are concatenated, primitives are replaced, etc), increase `verbosity` to 3 and look for `parsed tsconfig` if you get something unexpected. + This is a [deep merge](https://lodash.com/docs/4.17.4#merge) (objects are merged, arrays are merged by index, primitives are replaced, etc), increase `verbosity` to 3 and look for `parsed tsconfig` if you get something unexpected. * `tsconfig`: `undefined`