Can clojurescript compile code that's not on the classpath?

I have a clojure program that compiles a clojurescript program, using the cljs compiler namespaces like cljs.build.api directly. I’m trying to add an option to include additional clojurescript namespaces from strings, like “(ns myapp.generated-namespace1234) (prn :foo)”. I’m struggling to get this working and I think the issue is that the generated namespaces are not on the classpath. Is there some obvious way to do this that I’m missing?

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.