rstacruz / sinatra-assetpack

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

Enable minification and external asset host on other environments besides production #157

Open oveddan opened 10 years ago

oveddan commented 10 years ago

Often it is desirable to have production style assets (minified and via cdn) in a staging environment, so that it mimics production as much as possible.

It would be great if you could specify, in which environments, to compress assets as well as serve them from a cdn, rather than just production vs. development.

leighmcculloch commented 10 years ago

+1

pjanuario commented 9 years ago

+1