Reputation: 7210
I was just playing about with Bower and got it to pull down jQuery 1.9.1 and Fancybox 2.1.4
That's great but for example, Fancybox pulls it's entire repo down including all the demo files and not just the actual files I need.
How should this situation be dealt with?
Neil
Upvotes: 1
Views: 229
Reputation: 7211
You have three options at the moment:
ignore
attribute of the component.json
(or soon to be bower.json
) or maintaining a separate repository just for bower like AngularJS does for example."dependencies": { "fancybox": "https://raw.github.com/fancyapps/fancyBox/master/source/jquery.fancybox.js" }
Last last option comes with the drawbacks that neither dependency resolution nor multiple files will work. The best long-term solution is to lobby the author to correctly support bower.
Upvotes: 3