diff --git a/frontend/scripts/dist-main b/frontend/scripts/dist-main index 74e592e53..ac972c3da 100755 --- a/frontend/scripts/dist-main +++ b/frontend/scripts/dist-main @@ -1,2 +1,3 @@ #!/bin/sh lein trampoline run -m clojure.main scripts/dist-main.clj +gzip -9c dist/js/main.js > dist/js/main.js.gz diff --git a/frontend/scripts/dist-view b/frontend/scripts/dist-view index 8a50a13b0..9be34c6b9 100755 --- a/frontend/scripts/dist-view +++ b/frontend/scripts/dist-view @@ -1,2 +1,3 @@ #!/bin/sh lein trampoline run -m clojure.main scripts/dist-view.clj +gzip -9c dist/js/view.js > dist/js/view.js.gz diff --git a/frontend/scripts/dist-worker b/frontend/scripts/dist-worker index fac987e40..b59dfc16d 100755 --- a/frontend/scripts/dist-worker +++ b/frontend/scripts/dist-worker @@ -1,2 +1,3 @@ #!/bin/sh lein trampoline run -m clojure.main scripts/dist-worker.clj +gzip -9c dist/js/worker.js > dist/js/worker.js.gz