Add shadow-cljs to existing Leiningen project

Yes, of course!

Ah yes. I removed all cider-nrepl and piggieback stuff and I am able to connect to the nREPL from Cursive.

Coming from Leiningen I’m used to using profiles to include different dependencies in dev and production builds and also to have an “env” folder where profile dependent namespaces are included. For instance, I only want to use Orchestra in development to instrument all speced functions. So orchestra is included as a dependency in the Leiningen dev profile and I call Orchestra’s instrument function in a namespace that is in the env/dev folder. The corresponding namespace in the env/prod folder does not require the orchestra namespace.

Is it possible to achieve the same effect using Shadow CLJS? Note that I am using Leiningen for my dependency management.