This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-02
Channels
- # announcements (13)
- # babashka (42)
- # beginners (29)
- # calva (39)
- # cider (15)
- # clerk (10)
- # clojure (67)
- # clojure-europe (18)
- # clojure-hungary (2)
- # clojure-nl (1)
- # clojure-norway (12)
- # clojure-uk (7)
- # clojuredesign-podcast (14)
- # clojurescript (19)
- # datalevin (1)
- # datascript (5)
- # emacs (4)
- # events (2)
- # fulcro (5)
- # graalvm (5)
- # hyperfiddle (23)
- # incanter (3)
- # jobs (2)
- # lsp (8)
- # missionary (15)
- # off-topic (45)
- # portal (41)
- # practicalli (1)
- # re-frame (3)
- # reitit (6)
- # releases (2)
- # remote-jobs (1)
- # sci (1)
- # shadow-cljs (35)
- # solo-full-stack (8)
- # tools-deps (4)
HI, I am trying to use hashp (https://github.com/weavejester/hashp) Sadly there is no instruction how to add this when using tools.deps. I add the lib to my ~/.clojure/deps.edn fine as dependency, and then in cljs file i can add it to current namespace and use. What i would like is for the #p macro to be available without including the require. Lein has :injections, is there similiart thing with tools.deps and clojurescript?
{:aliases
{:nrepl
{:extra-deps {nrepl/nrepl {:mvn/version "RELEASE"}
cider/cider-nrepl {:mvn/version "RELEASE"}
hashp/hashp {:mvn/version "RELEASE"}}
:main-opts ["-e" "(require,'hashp.core)"
"-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}}}
I've added a require for hashp with -e
flag in the alias I use to start my replthat is a good path i think... the issue seems to be that i would like that in cljs
might be a figwheel main option