This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-16
Channels
- # beginners (48)
- # cider (21)
- # clara (6)
- # cljdoc (3)
- # cljs-dev (11)
- # cljsrn (5)
- # clojure (30)
- # clojure-canada (1)
- # clojure-dusseldorf (2)
- # clojure-italy (10)
- # clojure-losangeles (2)
- # clojure-nl (4)
- # clojure-russia (8)
- # clojure-spain (18)
- # clojure-uk (39)
- # clojurescript (84)
- # core-async (17)
- # cursive (22)
- # data-science (27)
- # datomic (27)
- # docker (3)
- # editors (5)
- # emacs (2)
- # figwheel-main (18)
- # fulcro (54)
- # hoplon (3)
- # hyperfiddle (2)
- # immutant (4)
- # jobs (1)
- # jobs-discuss (1)
- # lein-figwheel (7)
- # leiningen (3)
- # lumo (1)
- # onyx (5)
- # re-frame (64)
- # reagent (5)
- # reitit (7)
- # ring-swagger (6)
- # shadow-cljs (118)
- # specter (23)
- # tools-deps (38)
Recent global-exports change in 312+ broke cases where the value contains dots, when trying to point to property inside main object: https://github.com/clojure/clojurescript/commit/3b0ce12d4c7e4a8ba9321531509490710d733662 E.g.
:global-exports '{react-transition-group ReactTransitionGroup
react-transition-group/Transition ReactTransitionGroup.Transition
react-transition-group/TransitionGroup ReactTransitionGroup.TransitionGroup
react-transition-group/CSSTransitionGroup ReactTransitionGroup.CSSTransitionGroup})
Ideas if we should support this and how? Split value on dots and emit bracket access for each part?
I find this useful (and necessary) for providing global-exports which mimic the node module names
@juhoteperi I’m ok with that
@dnolen Patch added
I've taken a quick look at MaterialUI node module support and I think we have at least two bugs on our side affecting this, 1. we need support for ignoring modules using package.json main-entry (browser entry) fields (related: CLJS-2816), I have a good idea how to implement this, 2. something is breaking requires between some cjs/es6 modules, it could be due to our provide/require calls
I try take a better look at this this week so I can write proper issues and maybe work on fixes