This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-26
Channels
- # announcements (7)
- # babashka (42)
- # beginners (349)
- # chlorine-clover (9)
- # cider (16)
- # circleci (2)
- # clj-kondo (6)
- # cljs-dev (61)
- # cljsrn (15)
- # clojure (95)
- # clojure-europe (11)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-spec (4)
- # clojure-uk (24)
- # clojurescript (21)
- # conjure (2)
- # core-async (8)
- # cursive (12)
- # datascript (2)
- # emacs (4)
- # exercism (1)
- # figwheel-main (86)
- # fulcro (27)
- # graalvm (4)
- # helix (36)
- # hoplon (3)
- # interop (44)
- # kaocha (6)
- # lein-figwheel (4)
- # malli (7)
- # meander (9)
- # off-topic (95)
- # pathom (33)
- # pedestal (13)
- # re-frame (20)
- # reitit (3)
- # shadow-cljs (102)
- # tools-deps (14)
- # xtdb (16)
we're still seeing some inference warnings when using satisfies?
- wondering if this is being tracked already? i can try to make a repro case if useful too
I don't recall any remaining open issues surrounding satisfies?
and type inference, so a JIRA with minimal repro would be useful
@roman01la just not interested in changing the string concatenation because of Jsonp
api changes, as @thheller alludes the issues are too subtle
you need to follow Closure conventions here - we're not going to make it more convenient
we encountered the same thing with the code splitting loader - goog.html.legacyconversions.safeUrlFromString
works just fine
also if folks specify :install-deps
the compiler throws an error.
[Figwheel:SEVERE] java.lang.IllegalArgumentException: contains? not supported on type: java.lang.Boolean
the other thing that :npm-deps
does is notify the compiler needs to index node_modules
There is a bug where merge overwrites :npm-deps with true, and calling :install-deps throws when using the :bundle target
it throws here https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L2380
https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L2508
its fair to say that folks should not have deps specified in :npm-deps
when wanting a bundle
target?
yeah from what I understood, :bundle
means that as a lib author I should def start including :npm-deps
in a deps.cljs
in my lib
OK my main question is: Is it intended that :bundle will always set :npm-deps to true, even if its populated with deps declarations?
https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L2508
I’m super close to releasing the next version of figwheel that supports all of this better and I just wanted to clarify things
yeah pretty bad bugs, let me know when you want me to cut another release to depend on