Sha256: d96e2285c69164da28f91cbd26b2efe1fc04ceeb1cb5fb84c9afcf0f57739ae8
Contents?: true
Size: 391 Bytes
Versions: 8
Compression:
Stored size: 391 Bytes
Contents
# -*- encoding: utf-8 -*- require 'webgen/content_processor' webgen_require 'cssminify' module Webgen class ContentProcessor # Minifies CSS files. module CSSMinify # Process the content of +context+ with CSSMinify (a CSS minifier). def self.call(context) context.content = ::CSSminify.compress(context.content) context end end end end
Version data entries
8 entries across 8 versions & 1 rubygems