Skip to content

Commit 5016347

Browse files
committed
use defu.arrayFn to support custom array merging
1 parent 2d9fd7c commit 5016347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function extendConfig (base: NuxtConfig | string, target: NuxtConfig): Nu
4646
}
4747

4848
// Merge with defu
49-
return defu(override, target, base)
49+
return defu.arrayFn(override, target, base)
5050
}
5151

5252
export function resolveConfig (config: string | NuxtConfig): NuxtConfig {

0 commit comments

Comments
 (0)