lib/linner/compressor.rb in linner-0.4.6 vs lib/linner/compressor.rb in linner-0.5.0

- old
+ new

@@ -3,10 +3,10 @@ module Linner class Compressor def self.compress(asset) - if asset.javascript? + if asset.javascript? or asset.template? Uglifier.compile asset.content, comments: "none" elsif asset.stylesheet? CSSminify.new.compress asset.content end end