This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-05
Channels
- # announcements (16)
- # babashka (10)
- # beginners (80)
- # calva (18)
- # cider (10)
- # clojure (96)
- # clojure-austin (1)
- # clojure-europe (52)
- # clojure-france (6)
- # clojure-germany (2)
- # clojure-italy (4)
- # clojure-nl (4)
- # clojure-seattle (3)
- # clojure-spec (4)
- # clojure-uk (25)
- # clojurescript (97)
- # community-development (2)
- # cursive (7)
- # datomic (13)
- # figwheel-main (5)
- # fulcro (13)
- # inf-clojure (1)
- # jobs (3)
- # off-topic (33)
- # pathom (10)
- # polylith (8)
- # re-frame (7)
- # reitit (8)
- # releases (1)
- # reveal (2)
- # ring (4)
- # ring-swagger (1)
- # sci (6)
- # shadow-cljs (102)
- # slack-help (1)
- # spacemacs (28)
- # tools-deps (9)
- # vim (1)
- # xtdb (3)
I've got an odd situation happening with figwheel-main bundling. The source-code generated has got mangled names, but when I breakpoint in the debugger, the names provided aren't mangled at all. Not sure yet how to produce a minimal repo, but any ideas what could be happening? I'm using an npm lib which I'm requiring as follows:
[exceljs]
This seems to work fine:
(-> (exceljs/Workbook.)
.-xlsx)
This sort of thing less so:
(defn get-xlsx [workbook] (.-xlsx workbook))
(get-xlsx (exceljs/Workbook.))
(I'm saying sort of thing because this only happens in the minified case and as I said, I've not got a minimal repro just yet...)possibly there's trouble with renaming, maybe you need to add some externs for exceljs so those symbols aren't renamed.
NB there's a mode for Closure compiler you can run a build with that does the renaming, but it mostly renames things fooBar
to fooBar_
, so you can see the breakages without struggling with the opaque names.