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

override main of a component #13

Open
faassen opened this issue Aug 28, 2014 · 4 comments
Open

override main of a component #13

faassen opened this issue Aug 28, 2014 · 4 comments

Comments

@faassen
Copy link
Owner

faassen commented Aug 28, 2014

Sometimes the main of a bower component does something we really don't want. We should have the possibility to override it entirely.

@icemac
Copy link
Contributor

icemac commented Jun 17, 2015

Is there any progress on this? Bower seems to support a an overrides concept, see bower/spec#38

@faassen
Copy link
Owner Author

faassen commented Jun 23, 2015

No progress on this. Happy to see contributions.

From what I can find in that issue (and related bower/spec#27 ) , Bower does not yet support such an overrides system, right? But we can take it as inspiration, I guess!

@icemac
Copy link
Contributor

icemac commented Jun 23, 2015

I'm not sure about the implementation status of this feature in bower. (Some pages refer to it as undocumented some other – like the spec – let me think that it is not jet implemented.)
But I think it could be a good source of inspiration.

I my current problem was that I wanted to exclude a file mentioned in main. I solved it for now by manipulating the resource dependencies after include.

@faassen
Copy link
Owner Author

faassen commented Jun 23, 2015

I ran into an issue where I wanted to completely change a main to include a different file (which can happen if a bower package offers multiple bundles with more or less features).

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