This is not that simple if you take into account the whole ecosystem. For instance if you want engines to be able to share assets, like JQuery...
I don't really know how to properly handle those cases but I guess it would be possible if Rails could provide a minimum API somehow to allow that in some way it would be independent from the assets pipeline implementation. But since dependencies are handled so differently among the available approaches I have no idea on how such API could look like if it's possible to exist... Em 11/06/2014 15:55, "Rafael Mendonça França" <[email protected]> escreveu: > On Wed, Jun 11, 2014 at 1:25 PM, Joe Fiorini <[email protected]> wrote: > > Would the core team consider approaches that make the asset pipeline more >> configurable? > > Sure, but I think we need to be more explicit what means more > configurable. > > Right now rails doesn’t have anything about the assets pipeline and > everything related to it (configurations and even the code that make the > assets helper works) lives on the sprockets-rails repository. As far I know > if you don’t require the sprockets/railtie you should be able to not use > sprockets at all and use any custom assets pipeline you want. Of course > Rails will only be able to server asset on the public folder but I think > you could make grunt/gulp to generate the result assets there. > > Rafael Mendonça França > http://twitter.com/rafaelfranca > https://github.com/rafaelfranca > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
