Repository navigation
|
does mergeConfig merges array values like deps.neverBundle? |
Answered by
sxzz
Jun 18, 2026
Replies: 1 comment
|
Yes, this is expected. Arrays are overridden by design in This avoids implicit merging behavior that can be surprising for options where order or exact values matter. If you want to append to an existing array such as |
0 replies
Answer selected by
sxzz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this is expected. Arrays are overridden by design in
mergeConfig, not concatenated.This avoids implicit merging behavior that can be surprising for options where order or exact values matter. If you want to append to an existing array such as
deps.neverBundle, you’ll need to spread the previous value explicitly.