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

option to pass config for builder in constructor #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edjafarov
Copy link

To use builder in stuff like grunt it is really cool to have ability to pass component config as a parameter rather than always have component.json file.
This pull request adds optional parameter for Builder(dir, parent, config)
If config is defined builder use it otherwise component.json is used.
That shouldn't break existing logic.

@jonathanong
Copy link
Contributor

LGTM. why do you want to do it that way, though? i'd always want settings in a separate file from any build logic.

@edjafarov
Copy link
Author

Automating tools. Like grunt or compy.

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

Successfully merging this pull request may close these issues.

2 participants