Closed harishcm closed 2 years ago
Hi, thanks for the heads up. I just pushed an update with the suggested fix. Let me know if everything looks.
Thank you very much for the really quick update. I tested it with +postgres +swagger +re-frame +shadow-cljs +auth
. Works like a charm!
Thank you for your excellent work with Luminus.
With the recent change in the Shadow CLJS settings in v4.10, there seems to be a slight bug in the classpath used by the Shadow CLJS compiler when running
lein uberjar
.Please see below for a minimal reproduction of the issue. It shows that the
+dev
profile is being used by the Shadow CLJS compiler duringlein uberjar
.This results in using the wrong entry module (i.e.
app.cljs
from theenv/dev/cljs
directory) and larger build sizes (due to inclusion of additional dependencies likecljs-devtools
).Using
lein run
instead oflein shell
to run the Shadow CLJS compilation step resolves the issue.With that, the
lein-shell
plugin can also be removed.For your kind consideration.