Skip to content

Using dependencies from shadow-cljs.edn in embedded mode #1178

Closed Answered by thheller
nikonikoniko asked this question in Q&A
Discussion options

You must be logged in to vote

shadow-cljs in embedded mode runs in the JVM it is embedded in and uses its classpath. It therefore never even checks where your dependencies are defined, since it cannot add anything reliably after the JVM is started.

So, yes the intention is to have all your dependencies in deps.edn if thats how you start your JVM. And no, there is no way to define and use them from shadow-cljs.edn if used in embedded mode. I generally recommend putting them in a :cljs or so alias, to have some sort of separation but that is not super important.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nikonikoniko
Comment options

Answer selected by thheller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants