Sha256: ad46898c037b42211434ac5c48fedd7ad11ebb4ac3c9febda74614a2a39af91c

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

module Middleman
  class MinifyHtmlExtension < Extension
    def initialize(*)
      super
      require 'htmlcompressor'
    end

    def after_configuration
      app.use ::HtmlCompressor::Rack, options.to_h
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-minify-html-3.3.0 lib/middleman-minify-html/extension.rb