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?
@curlyfry 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.
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.
:launch-js ["chromium-browser" "--repl" "<http://localhost:1234/$FOO>"]
How do I get :launch-js
to read $FOO
from my env instead of just opening the exact string "<http://localhost:1234/$FOO>"
in the browser?
I got it going for "http://localhost:1234/test.html" so I'm good.