You can create a deps.cljs in the root of your classpath for Y and declare
:npm-deps there
;; src/deps.cljs
{:npm-deps {"the-thing" "version"}}
This way the compiler can pick up your npm dependency and install it.
On Monday, January 15, 2018 at 9:01:55 AM UTC+1, Lucas Wiener wrote:
>
> Hi,
>
>
I now realise that this question might belong to the ClojureScript group,
so I'm posting it there as well. Feel free to remove this thread if you
want.
Den måndag 15 januari 2018 kl. 09:01:55 UTC+1 skrev Lucas Wiener:
>
> Hi,
>
> I have the following clojurescript project dependency setup: X ->
Hi,
I have the following clojurescript project dependency setup: X -> Y (X has
stated Y in :dependencies). Now, I would like Y to depend on a npm
javascript library Z. Following the guides, I added :npm-deps to one of the
builds specified in Y. When I build and run Y, everything works fine with