mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 17:54:32 +00:00
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
|
:optimizations :simple
|
||||||
:closure-defines {"goog.DEBUG" false}
|
:closure-defines {"goog.DEBUG" false}
|
||||||
:parallel-build false
|
:parallel-build false
|
||||||
|
:elide-asserts true
|
||||||
:language-in :ecmascript5}
|
:language-in :ecmascript5}
|
||||||
:warning-handlers [status-im.utils.build/warning-handler]}
|
:warning-handlers [status-im.utils.build/warning-handler]}
|
||||||
:android
|
:android
|
||||||
@ -99,5 +100,6 @@
|
|||||||
:optimizations :simple
|
:optimizations :simple
|
||||||
:closure-defines {"goog.DEBUG" false}
|
:closure-defines {"goog.DEBUG" false}
|
||||||
:parallel-build false
|
:parallel-build false
|
||||||
|
:elide-asserts true
|
||||||
:language-in :ecmascript5}
|
:language-in :ecmascript5}
|
||||||
:warning-handlers [status-im.utils.build/warning-handler]}}}}})
|
:warning-handlers [status-im.utils.build/warning-handler]}}}}})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user