lib/linner/compressor.rb in linner-0.6.3 vs lib/linner/compressor.rb in linner-0.6.4
- old
+ new
@@ -7,9 +7,11 @@
def self.compress(asset)
if asset.javascript? or asset.template?
Uglifier.compile asset.content, comments: "none"
elsif asset.stylesheet?
CSSminify.new.compress asset.content
+ else
+ asset.content
end
end
end
end