diff --git a/nanoc/rules/index.rules b/nanoc/rules/index.rules index 1e6a996..0463ab8 100644 --- a/nanoc/rules/index.rules +++ b/nanoc/rules/index.rules @@ -16,9 +16,11 @@ end compile "/js/main/surah-index.tsx" do filter :webpack, exe: tidy, - depend_on: ["/js/components", + depend_on: [ + "/js/components", "/js/lib/", - "/js/hooks"] + "/js/hooks" + ] write "/js/main/surah-index.js" filter :gzip write "/js/main/surah-index.js.gz" diff --git a/nanoc/rules/stream.rules b/nanoc/rules/stream.rules index 97b2102..2a25e6f 100644 --- a/nanoc/rules/stream.rules +++ b/nanoc/rules/stream.rules @@ -43,7 +43,11 @@ end compile "/js/main/surah-stream.tsx" do filter :webpack, exe: tidy, - depend_on: ["/js/components", "/js/lib/", "/js/hooks"] + depend_on: [ + "/js/components", + "/js/lib/", + "/js/hooks" + ] write "/js/main/surah-stream.js" filter :gzip write "/js/main/surah-stream.js.gz"