This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-02
Channels
- # announcements (2)
- # aws (13)
- # beginners (52)
- # boot (10)
- # calva (2)
- # cider (23)
- # clara (23)
- # cljs-dev (16)
- # cljsrn (5)
- # clojure (69)
- # clojure-brasil (1)
- # clojure-conj (3)
- # clojure-dev (41)
- # clojure-india (2)
- # clojure-italy (39)
- # clojure-nl (5)
- # clojure-russia (2)
- # clojure-spec (5)
- # clojure-uk (51)
- # clojurescript (78)
- # code-reviews (13)
- # data-science (2)
- # datascript (22)
- # datomic (47)
- # duct (13)
- # emacs (4)
- # figwheel-main (45)
- # fulcro (85)
- # funcool (4)
- # jobs (9)
- # nrepl (106)
- # off-topic (5)
- # pathom (7)
- # pedestal (2)
- # re-frame (17)
- # reagent (32)
- # reitit (7)
- # ring-swagger (2)
- # shadow-cljs (33)
- # spacemacs (4)
- # specter (2)
- # tools-deps (203)
- # vim (1)
@mj_langford doing the same on azure, all good
What are the benefits of using shadow-cljs with Node/lambda? Are you running the code through advanced optimizations? Sorry for slight off-topic.
@valtteri I agree. I wouldn't have thought there is any need for shadow-cljs when targeting lambda as you can simply package the node_modules directly. Targeting the browser - yeah that's another story.
I’m just curious if there are some fancy built-in goodies in shadow-cljs for targeting node/lambda. 😉
it's not really about node_modules at all. you still need a compiler to take your CLJS code and output JS code
but for AWS I believe you can simply target a node lib and shadow-cljs will do the right things re: not bundling dependencies, optimizing correctly, etc.
@valtteri yes in our case I contributed a shadow target that compiles things as Azure expect them. One of the nice nice things of shadow are also custom or built in "targets"
Actually I think it was Thomas mainly who contributed that sorry I had to check - memory is failing 😉
Good to know that shadow has extensible little ‘ecosystem’. It sounds interesting. Need to find time to look into it some day.
@valtteri The advantage of targeting shadow-cljs is finding a community committed to a specific stack so you don't have to handle the node/cljs glue yourself everywhere.