This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-14
Channels
- # announcements (10)
- # babashka (14)
- # beginners (51)
- # calva (2)
- # cider (28)
- # cljs-dev (1)
- # cljsrn (3)
- # clojure (185)
- # clojure-dev (15)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-nl (6)
- # clojure-uk (45)
- # clojurescript (4)
- # conjure (12)
- # datomic (37)
- # duct (37)
- # figwheel-main (15)
- # helix (23)
- # interceptors (1)
- # jobs (1)
- # jobs-discuss (11)
- # jvm (5)
- # luminus (3)
- # malli (15)
- # off-topic (69)
- # pathom (8)
- # pedestal (2)
- # re-frame (7)
- # reagent (58)
- # reitit (33)
- # remote-jobs (1)
- # rum (14)
- # sci (7)
- # shadow-cljs (15)
- # spacemacs (9)
- # testing (19)
- # timbre (3)
- # tools-deps (14)
what kind of issues could it cause @lilactown ?
in upgrading from "2.8.83" to "2.10.14", our use of headless-chrome has started breaking: Uncaught ReferenceError: $jscomp is not defined
- however, i see https://github.com/thheller/shadow-cljs/commit/04e636404e976761fb1eac675db55e5d12518246 as well. going to do a fresh node_modules. anything else we should try?
update: clean node_modules didn't help.
@robert-stuttaford which build :target
? if you are using headless-chrome and only need to target that you can set :compiler-options {:output-feature-set :es8}
which gets rid of most polyfills (which $jscomp
is for)
thank you, giving that a go
that works, thank you!
Is it possible to create a wrapper library which consumes a npm library using shadow-cljs? I would like to make sure taht other build tools like figwheel-main could understand the generated source-code
don't need to do that at all. consumers just need to use the new :bundle
to get the npm package access. the code stays the same.
Thanks @thheller. Those are great news!
Morning, Not sure if this was covered but any chance on adding git-deps t shadow-cljs.edn dependency resolution?
Hi guys. The live reload become painfully slow when I add:
["@material-ui/icons" :refer (ArrowForward)]
The console says it’s processing 6557 files instead of 1013 once I add that import line.
The solution seems to be described here but not sure how to do that in CLJS:
https://github.com/mui-org/material-ui/issues/12422#issue-347896444
@somedude314 definitely only import the icons you are actually using. all of them is madness.