This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-24
Channels
- # announcements (11)
- # beginners (72)
- # calva (11)
- # cider (12)
- # clj-kondo (147)
- # clojure (6)
- # clojure-new-zealand (2)
- # clojuredesign-podcast (2)
- # clojurescript (36)
- # cursive (2)
- # datomic (5)
- # emacs (4)
- # fulcro (57)
- # graalvm (104)
- # graphql (2)
- # jobs (1)
- # joker (1)
- # kaocha (3)
- # malli (51)
- # off-topic (2)
- # portkey (1)
- # reagent (18)
- # shadow-cljs (26)
- # spacemacs (7)
- # tools-deps (5)
- # vim (4)
@thheller I’m playing around with the prepl stuff and am trying to use a version of shadow-cljs with some changes locally. Is it “supported” to provide the shadow cljs deps via tools.deps :local/root
?
not really. shadow-cljs has a bunch of java sources that need to be compiled. deps.edn doesn't deal with this
Ok, do you have a workflow you’d recommend as an alternative?
open the shadow-cljs repo itself. run lein with-profiles +cljs repl
and (require 'repl) (repl/go)
thats why I do. (shadow.cljs.devtools.api/watch :browser)
or any of the other tests builds
just lein install
works if you have to. I've never really worked on shadow-cljs from inside another project
ok cool, I’ll give using the test builds a try then
thanks
Is it possible to have :source-map true
but not have //# sourceMappingURL=....map
in the built JS file?
I want to upload the source map to a third-party logging service instead of having it available on the production website.
Having sourceMappingURL
doesn't really hurt but it produces an extra 404 error if there's no map when I open the dev tools.
if you open an issue I can see how much it would take to add that. probably not much.
Done! I've started looking into it myself, but there are a few places where the line gets appended, and some of those places have scary FIXME
so I decided to ask here instead.
Another question - my manifest.edn
contains a duplicated entry within :entries
. Is this OK/normal?