You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run lein uberjar the resulting artifact (to produce a runnable server app, not a lib), I get the ClojureScript compiler and so on in the resulting jar.
jar tf target/app-standalone.jar | grep "cljs"
reveals the inclusions. The jar is about 22MB in size.
All the ClojureScript stuff is gone, and the resulting jar is about 9.6MB and everything works great. Sente isn't expecting to compile ClojureScript on the fly, right? The exclusion doesn't break anything on another project which IS ClojureScript, either.
I'm not really sure how these things work with libraries, but shouldn't ClojureScript be a provided dependency (if that's the right term)? It's only there to compile the lib, right? The actual jar pulled down from the repo already contains cljs files.
The text was updated successfully, but these errors were encountered:
I have a simple server which uses
sente
:When I do "lein with-profile production deps :tree" I see:
When I run
lein uberjar
the resulting artifact (to produce a runnable server app, not a lib), I get the ClojureScript compiler and so on in the resulting jar.reveals the inclusions. The jar is about 22MB in size.
When I add the following:
All the ClojureScript stuff is gone, and the resulting jar is about 9.6MB and everything works great. Sente isn't expecting to compile ClojureScript on the fly, right? The exclusion doesn't break anything on another project which IS ClojureScript, either.
I'm not really sure how these things work with libraries, but shouldn't ClojureScript be a provided dependency (if that's the right term)? It's only there to compile the lib, right? The actual jar pulled down from the repo already contains cljs files.
The text was updated successfully, but these errors were encountered: