class BridgetownMinifyHtml::Builder

Public Instance Methods

build() click to toggle source
# File lib/bridgetown-minify-html/builder.rb, line 6
def build
  return if config[:watch]

  hook :site, :post_render, priority: :low do |site|
    BridgetownMinifyHtml::Minifier.new(site).call!
  end
end