Sha256: b9573669d112a7510e047f6a87136b18b6b8bbc50aad3fb002262643ed9d4d87
Contents?: true
Size: 461 Bytes
Versions: 15
Compression:
Stored size: 461 Bytes
Contents
# -*- encoding: utf-8 -*- require 'webgen/content_processor' require 'webgen/vendor/rainpress' module Webgen class ContentProcessor # Minifies CSS files. module Rainpress # Process the content of +context+ with Rainpress (a CSS minifier). def self.call(context) context.content = ::Rainpress.compress(context.content, context.website.config['content_processor.rainpress.options']) context end end end end
Version data entries
15 entries across 15 versions & 1 rubygems