This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-10
Channels
- # announcements (4)
- # beginners (111)
- # boot (34)
- # cider (67)
- # cljdoc (10)
- # clojure (90)
- # clojure-dev (37)
- # clojure-europe (3)
- # clojure-gamedev (3)
- # clojure-italy (18)
- # clojure-losangeles (2)
- # clojure-nl (27)
- # clojure-spec (24)
- # clojure-uk (59)
- # clojurescript (41)
- # cursive (32)
- # datomic (31)
- # emacs (21)
- # figwheel (1)
- # figwheel-main (2)
- # fulcro (43)
- # graalvm (6)
- # graphql (3)
- # jobs-discuss (3)
- # kaocha (1)
- # nyc (1)
- # off-topic (22)
- # pathom (10)
- # pedestal (11)
- # re-frame (9)
- # reitit (17)
- # shadow-cljs (15)
- # spacemacs (13)
- # sql (6)
- # testing (5)
- # tools-deps (3)
- # vim (13)
- # yada (1)
@colinkahn :preloads
are not supported for :npm-module
. shadow-cljs can't tell which namespace you are going to load so it can't tell which namespace it has to load before that
I did find a way around it in this specific case by importing a file directly into the .storybook/config.js
file
@thheller i’m trying to upgrade the storybook example to the latest storybook version (5.0.11) and having no luck. Wondering if you’ve tried this
I don't use storybook no. not a clue whats different but it should work the same as before?
I suspect the bottleneck is something like a babel transform it’s applying to all files, which obviously that’s quite a few for what’s generated in the build.
you can probably put the simple .babelrc
into the output dir so it doesn't process with babel at all
previously I added that to the .storybook
dir https://github.com/shadow-cljs/examples/blob/master/cljs-storybook/.storybook/.babelrc