Replies: 1 comment
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
While setting up production builds for a datahike-based project, I took a look at the dependency tree to see what was getting pulled in. In particular, I noticed that datahike has a runtime dependency on the ClojureScript compiler (org.clojure/clojurescript). Is that actually necessary? I added it as an exclusion and my compiled uberjar went from 60MB to 37MB.
I gather that datahike would like to support ClojureScript again someday, but wouldn't it still be a build-time dependency, either via shadow-cljs or something else?
In general, I wonder if any of the other root dependencies (e.g. orchestra) would be better suited to dev/test/build aliases to help keep production classpaths tidy?
Thanks
All reactions