From 3521fc30c8e9a96afefe95a49a26521303e98581 Mon Sep 17 00:00:00 2001 From: Ducky Date: Fri, 13 May 2016 15:59:29 +0100 Subject: [PATCH] Added some compiler options for performance --- resources/project.clj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/project.clj b/resources/project.clj index af50e96..8563dcf 100644 --- a/resources/project.clj +++ b/resources/project.clj @@ -33,10 +33,14 @@ :compiler {:output-to "index.ios.js" :main "env.ios.main" :output-dir "target/ios" + :static-fns true + :optimize-constants true :optimizations :simple}} :android {:source-paths ["src" "env/prod"] :compiler {:output-to "index.android.js" :main "env.android.main" :output-dir "target/android" + :static-fns true + :optimize-constants true :optimizations :simple}}}} - }}) \ No newline at end of file + }})