-
-
Notifications
You must be signed in to change notification settings - Fork 116
How to combine unique and stategy merges #119
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
Milestone
Comments
The provided
|
I also expected merge unique to apply precedence to the item on the right like the rest of the merge package. |
bebraw
added a commit
that referenced
this issue
Jul 3, 2020
There's a fix for this in #135 (v5). I changed the precedence there to pick the last first as that's the best option given the way webpack configurations are structured. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't seem to figure out how combine the unique and strategy merge options. I want to be able to prepend the results of a plugins array and then only keep unique plugin instances based on the constructor name. The default behavior of the unique function is to keep the first unique instance and I was the latter unique instance essentially. Example below:
This will result in the
MiniCssExtractPlugin
plugin instance from configA being kept, and I want to keep the one from configB basically.The text was updated successfully, but these errors were encountered: