This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-21
Channels
- # announcements (3)
- # architecture (5)
- # babashka (19)
- # beginners (145)
- # calva (1)
- # chlorine-clover (18)
- # cider (10)
- # clj-kondo (5)
- # cljsrn (3)
- # clojure (56)
- # clojure-berlin (19)
- # clojure-czech (2)
- # clojure-europe (32)
- # clojure-finland (2)
- # clojure-nl (3)
- # clojure-portugal (2)
- # clojure-spec (8)
- # clojure-uk (48)
- # clojurescript (48)
- # conjure (50)
- # cryogen (1)
- # cursive (28)
- # datomic (54)
- # depstar (12)
- # emacs (1)
- # events (8)
- # figwheel-main (6)
- # fulcro (4)
- # helix (4)
- # java (2)
- # jobs (2)
- # leiningen (1)
- # off-topic (29)
- # parinfer (4)
- # pathom (6)
- # portkey (3)
- # reagent (1)
- # remote-jobs (3)
- # reveal (16)
- # shadow-cljs (42)
- # sql (20)
- # tools-deps (11)
- # vim (4)
- # vrac (2)
Hi! I have a project that is using re-frame-10x, which requires a :preloads config option to work properly. I set this in dev.cljs.edn
. I don't want to run this :preload when doing a production build. What is the best way of doing this with figwheel main? Should I use a completely different prod.cljs.edn
file where I leave out the :preloads?
https://github.com/bhauman/figwheel-main-template/blob/master/src/leiningen/new/figwheel_main/figwheel-main.edn Try making a figwheel-main.edn
maybe? I'm new to this myself.
@U0J30HBRS https://github.com/bhauman/figwheel-main/blob/4406e9eeb312b32058398f0614a479b763dba303/src/figwheel/main.cljc#L778-L783 Look at -co
and -b
, they have merge behavior when provided more than one thing.
:launch-js ["chromium-browser" "--repl" "
How do I get :launch-js
to read $FOO
from my env instead of just opening the exact string "
in the browser?
I got it going for "http://localhost:1234/test.html" so I'm good.