This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-09
Channels
- # announcements (12)
- # beginners (159)
- # boot (3)
- # calva (41)
- # cider (48)
- # clara (2)
- # clj-kondo (8)
- # cljdoc (8)
- # clojure (70)
- # clojure-dev (10)
- # clojure-europe (2)
- # clojure-losangeles (1)
- # clojure-nl (12)
- # clojure-spec (7)
- # clojure-uk (63)
- # clojurescript (24)
- # cursive (24)
- # datomic (22)
- # expound (17)
- # figwheel (1)
- # fulcro (176)
- # graphql (23)
- # jobs (9)
- # jobs-discuss (56)
- # kaocha (1)
- # mount (3)
- # nyc (1)
- # off-topic (91)
- # onyx (3)
- # overtone (4)
- # pathom (3)
- # pedestal (1)
- # re-frame (11)
- # reitit (19)
- # ring (8)
- # shadow-cljs (16)
- # test-check (5)
- # testing (2)
- # tools-deps (20)
- # vim (9)
:exports-var
would be :exports-var foo/exports
and then in (ns foo)
(def exports #js {:handler handler})
Yes, some part of the AWS Lambda machinery I imagine. But I don't have visibility into that.
https://github.com/royalaid/minimal-shadow-cljs-nodejs/blob/master/src/server/main.cljs
I’m having issues with using :preloads
, here’s my config:
{:deps true
:nrepl {:port 9000
:middleware [cider.nrepl/cider-middleware
cider.piggieback/wrap-cljs-repl]}
:builds
{:stories {:target :npm-module
:module-loader true
:output-dir "out/stories"
:devtools {:preloads [some.namespace.i.want.loaded.first]}}}}
afaict the file isn’t loaded, I have a println
in it which I assume I should see when the page loads
btw this is a modified version of the storybook example: https://github.com/shadow-cljs/examples/tree/master/cljs-storybook