Fork me on GitHub
#clojurescript
<
2020-03-12
>
gekkostate00:03:29

Hi all, quick question. I'm using a library (https://github.com/adambard/failjure) which has support for Clojure (Script). When I create an uberjar with lein uberjar , it fails to include the library for my clojurescript although it works with clojure files perfectly. The code also works perfectly locally. Should I be requiring the library differently if I'm using it in Clojurescript? Thanks for your help and time!

gekkostate00:03:01

For this particular library, the solution was to require the library with include-macros true in the require statement. So we have [failjure.core :as f :include-macros true] for cljs.