This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-12
Channels
- # announcements (65)
- # aws (1)
- # babashka (12)
- # beginners (111)
- # bristol-clojurians (1)
- # cider (32)
- # clj-kondo (55)
- # clojars (3)
- # clojure (71)
- # clojure-europe (17)
- # clojure-france (4)
- # clojure-italy (36)
- # clojure-losangeles (8)
- # clojure-nl (6)
- # clojure-uk (115)
- # clojurescript (2)
- # datomic (99)
- # fulcro (32)
- # graalvm (12)
- # graphql (20)
- # hoplon (203)
- # meander (56)
- # mount (3)
- # off-topic (17)
- # pathom (17)
- # reitit (22)
- # shadow-cljs (32)
- # spacemacs (9)
- # tools-deps (19)
- # vim (25)
- # vscode (3)
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!
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.