Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sxzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants