test/server.rb in sprockets-nyny-0.0.1 vs test/server.rb in sprockets-nyny-0.0.2
- old
+ new
@@ -5,9 +5,12 @@
require 'sprockets/nyny'
class App < NYNY::App
register Sprockets::NYNY
config.assets.precompile << 'app/assets/javascripts/application.js'
+ config.assets.compress = true
+ config.assets.js_compressor = :uglify
+ config.assets.css_compressor = :sass
get '/' do
render 'app/views/index.haml'
end
end