Fork me on GitHub
#boot
<
2019-06-10
>
pvik17:06:25

I am having trouble producing a production build for my app using boot-cljs, the final jar seems to include the dev build of react even tho I have :optimizations set to :advanced, any suggestions to fix this? (made a SO post with more details here: https://stackoverflow.com/questions/56528506/generating-production-build-with-boot-cljs)

jaide18:06:51

Does this happen if you use another build tool like shadow or specific to boot-cljs?

pvik18:06:03

I haven't tried a diffrerent build tool, I don't want to port the build file to leiningen if I can help it. I haven't used shadow-cljs, will that work for a combined clj/cljs application?

jaide23:06:18

Understandable, I wasn’t suggesting you switch build tools permanently. It’s more an idea just to debug this issue by trying to compile the cljs part with Shadow CLJS to rule out if it’s a behavior of the compiler itself, configuration, or specific to the boot-cljs.