#!/usr/bin/env ruby # frozen_string_literal: true ## # Contains rules that are related to assets (eg images, fonts, etc) ## # Fonts compile "/fonts/*" do write(item.identifier.to_s) filter :gzip write("#{item.identifier}.gz") end ## # Images compile "/images/*.svg" do write(item.identifier.to_s) filter :gzip write("#{item.identifier}.gz") end compile "/favicon.png" do write(item.identifier.to_s) end compile "/images/opengraph/*.png" do write(item.identifier.to_s) end