#!/usr/bin/env ruby # frozen_string_literal: true ## # Rules for a redirect from the root path to the surah index for a given locale # (eg / -> /en/) compile "/html/redirect.html.erb" do filter(:erb) write("/index.html") end compile "/js/pages/Redirect.ts" do filter(:webpack) write("/js/pages/redirect.js") end