jquery / jquerymobile.com

jQuery Mobile web site content
http://jquerymobile.com
Other
54 stars 65 forks source link

Installing custom jQuery Mobile via Bower #66

Closed frankie-loves-jesus closed 10 years ago

frankie-loves-jesus commented 10 years ago

Trying to simplify my JS asset management so would like to install a custom jQuery Mobile build via Bower. Ie. structure only with only Core: Init and Transitions: All Transitions. Is this possible?

scottgonzalez commented 10 years ago

Please use the forums, Stack Overflow, or IRC for questions. This is for reporting bugs against jquerymoible.com

frankie-loves-jesus commented 10 years ago

This was meant for the jQuery Mobile Download Builder's issue tracker. The link at http://jquerymobile.com/download-builder/ brought me here.

If something like this would be possible, it would have to start with the Download Builder right?

frankie-loves-jesus commented 10 years ago

In other words this is a feature request.

gseguin commented 10 years ago

If you do bower install jquery-mobile you get the repo version of jquery-mobile hence exposing the internal modules. From there you can use only what you need in your project and your build system should pull-in only what's needed of jQuery Mobile.

frankie-loves-jesus commented 10 years ago

Cheers - thanks a lot!

frankie-loves-jesus commented 10 years ago

@gseguin is this what you meant? https://github.com/jquery/jquery-mobile/issues/7319#issuecomment-40451448

frankie-loves-jesus commented 10 years ago

@gseguin in the end that did not work. If it's at all possible, one would have to have an expert-level understanding of the jQM build process. I don't have that. I just want to add a custom jQuery Mobile to my app's automated dependency management system.

I think the solution here is to make the various components of jQuery Mobile into independent Bower packages (similar to Rails Engines). That way one can just cherrypick and be done with it.