From a850786a566606fda20cc4ed71b79e975307b52a Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Sat, 4 Nov 2023 06:52:39 -0500 Subject: [PATCH] feat: export `mergeConfig()` (#3143) --- src/node/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/config.ts b/src/node/config.ts index b2425c3e..c0c51380 100644 --- a/src/node/config.ts +++ b/src/node/config.ts @@ -186,7 +186,7 @@ async function resolveConfigExtends( return resolved } -function mergeConfig(a: UserConfig, b: UserConfig, isRoot = true) { +export function mergeConfig(a: UserConfig, b: UserConfig, isRoot = true) { const merged: Record = { ...a } for (const key in b) { const value = b[key as keyof UserConfig]