This is the sweet spot for lein profiles. cljs-start has a good example of it.
The nice thing about using profiles is that you can reuse as much as you want
in your dev profile code (which will probably just be a few simple items like
handlers and template page or two) and then your prod
Thanks everyone for the replies. It is really useful to hear your thoughts.
I am summarizing the options and my thoughts around them:
- https://github.com/thheller/shadow-build I havent looked into this. I
will check and see if it solves my use case.
- Enlive to override the index.html in
Hey,
if you are feeling adventurous you could try
https://github.com/thheller/shadow-build, it is an alternate build library to
lein-cljsbuild that I wrote that doesn't have that problem.
But its quite alot more complicated to get started compared to lein-cljsbuild,
never tried figwheel so