Skip to content

Commit

Permalink
export mergeConfig()
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Oct 26, 2023
1 parent c343d93 commit c2b6e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/config.ts
Original file line number Diff line number Diff line change
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 c2b6e6e

Please sign in to comment.