You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar enough with doo or cljs internals to propose a solution, but here are a couple off-the-cuff ideas:
Maybe keep a binding to the original compiler value in leiningen.doo/doo and pass this value to the cljs functions, while passing the result of add-implicit-options to doo.core functions as necessary.
Or perhaps the add-implicit-options call could be moved to doo.core/assert-compiler-opts, assuming implicit options are not needed by doo.core/install! and doo.core/run-script.
Also, thank you, @bensu, for an amazing tool! lein doo is an incredible enabler for automated cljs testing 😀
The text was updated successfully, but these errors were encountered:
In ClojureScript 1.9.854 and above, this warning is produced during lein doo clojurescript compilation for whitespace/simple/advanced optimizations:
process.env
preload by default; see CLJS-2280process.env
preload is added twice becauseadd-implicit-options
is called twice:doo/plugin/src/leiningen/doo.clj
Line 197 in eceb879
doo/plugin/src/leiningen/doo.clj
Line 223 in eceb879
I'm not familiar enough with doo or cljs internals to propose a solution, but here are a couple off-the-cuff ideas:
compiler
value inleiningen.doo/doo
and pass this value to the cljs functions, while passing the result ofadd-implicit-options
todoo.core
functions as necessary.add-implicit-options
call could be moved todoo.core/assert-compiler-opts
, assuming implicit options are not needed bydoo.core/install!
anddoo.core/run-script
.Also, thank you, @bensu, for an amazing tool! lein doo is an incredible enabler for automated cljs testing 😀
The text was updated successfully, but these errors were encountered: