Sha256: a7e8962ffb8236a73c0e1c9f3b5799971512c6c870a80752a3ab346b260de583
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
module Middleman module Minified module Sass include ::Haml::Filters::Base def render(text) result = ::Sass::Engine.new(text, ::Sass::Plugin.engine_options).render if Middleman::Base.respond_to?(:minify_css?) && Middleman::Base.minify_css? compressor = YUI::CssCompressor.new compressor.compress(result) else result end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-0.12.0.pre | lib/middleman/features/minify_css.rb |