Hello guys, please advise how to workaround the fact that nbb requires pouchdb to be imported as [pouchdb$default :as PouchDB] , but shadow-cljs requires it to be just [pouchdb :as PouchDB]``. I want to have the same codebase for both, nbb and shadow-cljs.
@okilimnik You can use :target :esm in shadow-cljs and this should get you exactly the same code
shadow-cljs browser, sorry for confusion. :esm doesn't help, I tried it
You can use reader conditionals: #?(:org.babashka/nbb ...)
oh, cool! Thank you @borkdude, and thank you for the great tool! I was dreaming about fast execution of cljs files