change to :simple otimization

This commit is contained in:
kloimhardt 2021-06-04 01:37:04 +02:00
parent cf843793c2
commit 0ae50e7673

View file

@ -26,4 +26,11 @@
:depends-on #{:scittle}}}
:build-hooks [(shadow.cljs.build-report/hook)]
:output-dir "resources/public/js"
:devtools {:repl-pprint true}}}}
:devtools {:repl-pprint true}
:compiler-options {:optimizations :simple}}}}
;; simple optimization because sablono.interpreter line 22
;; cljs: (.setState component next-state)
;; simple: a.setState(f)
;; advanced: a.Ci(f)
;; and this Ci throws a "not defined" error