Closed jamesnvc closed 3 years ago
@jamesnvc Hi James,
Thanks for the report! Any chance you could provide a minimal reproducible? Does this seem only with figwheel?
Ah, it seems that the culprit is running figwheel with trampoline
; if I remove the "trampoline"
from :prep-tasks
(which I ended up needing to do to fix other issues), then it works fine.
It seems that if I have an elision environment variable set (e.g.
TAOENSSO_TIMBRE_NS_PATTERN_END="{#{:allow #{"*"} :deny #{"some.other.core"}}
) and have clojurescript compilation running as part of the uberjar (e.g. inproject.clj
then when uberjarring, that the println from timbre.cljc ends up in the generated javascript -- the second line of timbre.js is
Compile-time (elision) Timbre ns-pattern: ...
, which causes a parse error and aborts the compilation.