Skip to content

Commit a850786

Browse files
authoredNov 4, 2023
feat: export mergeConfig() (#3143)
1 parent beecec1 commit a850786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ async function resolveConfigExtends(
186186
return resolved
187187
}
188188

189-
function mergeConfig(a: UserConfig, b: UserConfig, isRoot = true) {
189+
export function mergeConfig(a: UserConfig, b: UserConfig, isRoot = true) {
190190
const merged: Record<string, any> = { ...a }
191191
for (const key in b) {
192192
const value = b[key as keyof UserConfig]

0 commit comments

Comments
 (0)
Please sign in to comment.