Skip to content

Commit

Permalink
feat: export mergeConfig() (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr committed Nov 4, 2023
1 parent beecec1 commit a850786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/config.ts
Expand Up @@ -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<string, any> = { ...a }
for (const key in b) {
const value = b[key as keyof UserConfig]
Expand Down

0 comments on commit a850786

Please sign in to comment.