Skip to content
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

Should ngx-build-plus use merge() or merge.smart()? #50

Closed
joeldenning opened this issue Dec 29, 2018 · 1 comment
Closed

Should ngx-build-plus use merge() or merge.smart()? #50

joeldenning opened this issue Dec 29, 2018 · 1 comment

Comments

@joeldenning
Copy link
Contributor

From what I can tell from the documentation, webpack-merge's merge.smart() function is better at merging webpack configs than a plain merge() is. The merge.smart() function does a better job of merging the loaders and module.rules webpack configuration, and maybe some other parts of the config.

Thoughts on whether ngx-build-plus should switch over to merge.smart()?

@manfredsteyer
Copy link
Owner

Thanks for this idea. For more advanced scenarios, I would recommend using plugins as they give you a very fine-grained control over the config. You can find sth. about this at [1] -- see "using plugins" and "Using different merging strategies":

https://www.npmjs.com/package/ngx-build-plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants