This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-16
Channels
- # announcements (2)
- # beginners (50)
- # boot (80)
- # calva (4)
- # cider (58)
- # cljs-dev (11)
- # clojure (140)
- # clojure-brasil (1)
- # clojure-denver (1)
- # clojure-dev (10)
- # clojure-europe (8)
- # clojure-finland (2)
- # clojure-italy (5)
- # clojure-nl (2)
- # clojure-quebec (1)
- # clojure-spec (2)
- # clojure-sweden (4)
- # clojure-uk (94)
- # clojurescript (98)
- # cursive (19)
- # data-science (1)
- # datascript (9)
- # datomic (43)
- # emacs (2)
- # fulcro (29)
- # graphql (41)
- # hoplon (15)
- # jobs (2)
- # kaocha (4)
- # liberator (24)
- # off-topic (9)
- # perun (1)
- # re-frame (11)
- # reagent (17)
- # reitit (8)
- # remote-jobs (2)
- # rum (2)
- # shadow-cljs (24)
- # spacemacs (1)
- # specter (1)
- # tools-deps (21)
does anyone know how to kinda tell shadow-cljs
of a dependency that doesn’t exist in package.json? in my example, jquery w/ bootstrap ;/
I don’t think I get it … are you saying move jquery to a CDN? or we can actually configure npm bootstrap to have a direct dependency on our npm jquery?
bootstrap’s package.json doesn’t actually list jquery as a dependency … but it really is … its a bad package tbqh
we have both, and both get loaded, but the order they get loaded is not guaranteed to be correct* as bootstrap doesn’t list a dependency on jquery, but it really has one
@thheller I am writing this bootstrapped electron app, when i pass the option {:verbose true} to eval-str it dumps build messages as console.error
messages to the devtools area, i presume that it is because *out*
is mapped to console
? I am right in thinking that? And if so can i map it to something else ? I want to map out such that these debug messages are visible in a text area in the app instead of devtools console. Would it be possible to do that?
Thanks is advance.
@metacritical since bindings don't work well in async environments (ie. CLJS) you kinda have to pick one logger. so either everything goes to console
or everything goes to wherever you set *out*
to. you can call (set-print-fn! (fn [foo] ....))
to control where prints goes.
@thheller Aha, i actually want to get all console messages in one place, this is helpful. Thanks.