-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using mergeWithRules
with top level entries
#159
Comments
Looks like it is. I commented on the PR. Overall I don't think it's the best way to go - it overcomplicates the configuration and creates confusion. |
Yup, it's a good way. Thanks for the feedback. I'll add some automation in the next pass. 👍 |
I suspect it's bigger than just top level entries, most probably it also relates to anything that is a primitive.
I'd like to merge two configs with
loaders
andexternals
.As per documentation in order to properly merge loaders I have to use
mergeWithRules
and indeed the loaders part works perfect.The problem is with
externals
, seems like it's completely ignored and used with the default strategy (append
).This test will fail, because
externals
are not replaced.Is this a bug or there is another way to merge both
loaders
and other "primitive" properties?Node: 12.18.2
OS: macOS 10.15.6
The text was updated successfully, but these errors were encountered: