Add :elide-asserts compiler option for release builds
Removes all asserts calls including :pre and :post condition checks https://cljs.github.io/api/compiler-options/elide-asserts Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
This commit is contained in:
parent
a26aa92327
commit
ed7176d65c
|
@ -87,6 +87,7 @@
|
|||
:optimizations :simple
|
||||
:closure-defines {"goog.DEBUG" false}
|
||||
:parallel-build false
|
||||
:elide-asserts true
|
||||
:language-in :ecmascript5}
|
||||
:warning-handlers [status-im.utils.build/warning-handler]}
|
||||
:android
|
||||
|
@ -99,5 +100,6 @@
|
|||
:optimizations :simple
|
||||
:closure-defines {"goog.DEBUG" false}
|
||||
:parallel-build false
|
||||
:elide-asserts true
|
||||
:language-in :ecmascript5}
|
||||
:warning-handlers [status-im.utils.build/warning-handler]}}}}})
|
||||
|
|
Loading…
Reference in New Issue