From e4b5880aa6a1f693e685bbf0a6e9720de84efc09 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Wed, 4 May 2022 12:07:48 -0400 Subject: [PATCH] fix(docs): _.merge doesn't concat arrays (#314) - 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`