Gzip loaders, main scripts
This commit is contained in:
parent
e3963d58f7
commit
82c39f90a6
4 changed files with 8 additions and 0 deletions
|
@ -26,6 +26,8 @@ end
|
|||
compile "/js/loaders/SurahIndexLoader.ts" do
|
||||
filter :webpack
|
||||
write "/js/loaders/surah-index-loader.js"
|
||||
filter :gzip
|
||||
write "/js/loaders/surah-index-loader.js.gz"
|
||||
end
|
||||
|
||||
compile "/css/main/SurahIndex.scss" do
|
||||
|
|
|
@ -17,4 +17,6 @@ end
|
|||
compile "/js/main/random.ts" do
|
||||
filter(:webpack, depend_on: ["/js/lib/"])
|
||||
write("/js/main/random.js")
|
||||
filter(:gzip)
|
||||
write("/js/main/random.js.gz")
|
||||
end
|
||||
|
|
|
@ -14,4 +14,6 @@ end
|
|||
compile "/js/main/redirect.ts" do
|
||||
filter(:webpack, depend_on: ["/js/lib/"])
|
||||
write("/js/main/redirect.js")
|
||||
filter(:gzip)
|
||||
write("/js/main/redirect.js.gz")
|
||||
end
|
||||
|
|
|
@ -52,6 +52,8 @@ end
|
|||
compile "/js/loaders/SurahStreamLoader.ts" do
|
||||
filter :webpack
|
||||
write "/js/loaders/surah-stream-loader.js"
|
||||
filter :gzip
|
||||
write "/js/loaders/surah-stream-loader.js.gz"
|
||||
end
|
||||
|
||||
compile "/css/main/SurahStream.scss" do
|
||||
|
|
Loading…
Reference in a new issue