It seems clojurescript targets are either browser or nodejs. Is there a way I can get it to output environment-agnostic JS code? Basically, the environment I want to run the code in is neither a browser (browser APIs blocked) nor nodejs (no access to dirname and other nodejs specific APIs)
@victorbjelkholm429 You should be able to specify that the target is :none
@victorbjelkholm429 More info: https://clojure.atlassian.net/browse/CLJS-2532
@mfikes looks to be what I'm out after, cheers! (Didn't see anything else than browser/node listed at https://cljs.github.io/api/compiler-options, hence my question before)
@victorbjelkholm429 Thanks, https://github.com/clojure/clojurescript-site/issues/359