al-quran.reflectslight.io/rules/assets.rules

21 lines
344 B
Text
Raw Normal View History

#!/usr/bin/env ruby
##
2023-03-11 14:45:12 +01:00
# Contains rules that are related to assets (eg images, fonts, etc)
##
# Fonts
compile "/fonts/*" do
write(item.identifier.to_s)
filter :gzip_binary
write("#{item.identifier}.gz")
end
##
# Images
compile "/images/*.svg" do
write(item.identifier.to_s)
filter :gzip_binary
write("#{item.identifier}.gz")
end