Sha256: 013eef3fe765901dcfa5f0fbcefcc40eebd7709a05bd02222b3e246e58c1f739
Contents?: true
Size: 404 Bytes
Versions: 6
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true # This add the hook for when the site has been built & is ready for compression. module BridgetownMinifyHtml class Builder < Bridgetown::Builder def build return if config[:watch] hook :site, :post_render, priority: :low do |site| BridgetownMinifyHtml::Minifier.new(site).call! end end end end BridgetownMinifyHtml::Builder.register
Version data entries
6 entries across 6 versions & 1 rubygems