rstacruz / sinatra-assetpack

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

compressed version filename not optional #100

Open jtreitz opened 11 years ago

jtreitz commented 11 years ago
# The second parameter defines where the compressed version will be served.
# (Note: that parameter is optional, AssetPack will figure it out.)
js :app, '/js/app.js', [
  '/js/vendor/**/*.js',
  '/js/lib/**/*.js'
]

AssetPack does not seem to figure it out – it least not for me. If i omit that parameter it loads the individual files.

j15e commented 11 years ago

I think this must indeed be verified, thanks for reporting, I'll have a closer look at this