rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 97 forks source link

Package static assets in a gem #164

Open SergXIIIth opened 10 years ago

SergXIIIth commented 10 years ago

Is it possible to write a gem like https://github.com/rails/jquery-rails? I mean package static assets in a gem for use in Sinatra applications and other gems?

j15e commented 10 years ago

Not currently, assetpack is a bit simpler than sprocket and does not deal with load paths other than those provided in the configuration.

j15e commented 10 years ago

Also, sprocket rely on ActionView configuration integration for this to full work, and such thing does not exist in Sinatra (I think). But maybe there is a other nice and simpler way to do this. I am open to suggestions.