From 42e87588b63814aa98ca2535ec69a6806628653a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 30 Sep 2016 23:38:31 +0200 Subject: [PATCH] Elide asserts on production builds. --- scripts/dist-main.clj | 1 + scripts/dist-view.clj | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/dist-main.clj b/scripts/dist-main.clj index da913ec26..74916e033 100644 --- a/scripts/dist-main.clj +++ b/scripts/dist-main.clj @@ -16,6 +16,7 @@ :optimizations :advanced :externs ["externs/main.js"] :static-fns true + :elide-asserts true :pretty-print false :language-in :ecmascript6 :language-out :ecmascript5 diff --git a/scripts/dist-view.clj b/scripts/dist-view.clj index a45a60974..cfb1278b6 100644 --- a/scripts/dist-view.clj +++ b/scripts/dist-view.clj @@ -16,6 +16,7 @@ :optimizations :simple :externs ["externs/main.js"] :static-fns true + :elide-asserts true :pretty-print false :language-in :ecmascript6 :language-out :ecmascript5