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

Stop package.json settings from overriding explicit options #146

Closed

Conversation

novemberborn
Copy link
Contributor

Fixes #141.

This would be a breaking change. Contrary to #134 (comment) though I'm only now (after writing the code) noticing that globals, plugins and envs are concatenated onto the existing values. So perhaps this isn't a problem at all?

If this is merged after all, note that I'm assuming #135 has landed, since it would allow implementors to write their own option merging logic.

@feross
Copy link
Member

feross commented Jan 13, 2017

Thanks for digging into this. It's been a while since I looked at this code. I think the right behavior is to continue merging the settings. The only setting where that's not possible is parser, and for that I think the explicitly passed in option should take precedent. I'll send a PR that makes this change.

@feross
Copy link
Member

feross commented Jan 13, 2017

PR sent: #154

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

Successfully merging this pull request may close these issues.

Options passed to standard-engine should not be overridden by package.json
2 participants