This is not directly a Luminus question, but I know that @yogthos might have a solution or a better way of doing this.
I also tried a figwheel component following [this](https://practicalli.github.io/clojurescript/figwheel/scripting-with-component.html) and adding it to the system
which does load figwheel with the system but cljsbuild
throws the same exception upon compiling.
---- Exception ----
com.cognitect.transit.TransitFactory.writer(Lcom/cognitect/transit/TransitFactory$Format;Ljava/io/OutputStream;Ljava/util/Map;Lcom/cognitect/tra\
nsit/WriteHandler;Ljava/util/function/Function;)Lcom/cognitect/transit/Writer;
---- Exception Stack Trace ----
solved... solution in (https://www.reddit.com/r/Clojure/comments/a56tu3/cljsbuild_refuses_to_compile_only_when_using/) if anyone is interested.