-
Apologizes for the long title, but I am trying to figure out why
AFAICT |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The only way (shadow.cljs.devtools.server.npm-deps/get-deps-from-classpath) It'll show something like this, just look for js-joda [{:id "react",
:version "16.13.0",
:url #object[java.net.URL
0x2241daab
"jar:file:/C:/Users/thheller/.m2/repository/reagent/reagent/0.10.0/reagent-0.10.0.jar!/deps.cljs"]}
{:id "react-dom",
:version "16.13.0",
:url #object[java.net.URL
0x2241daab
"jar:file:/C:/Users/thheller/.m2/repository/reagent/reagent/0.10.0/reagent-0.10.0.jar!/deps.cljs"]}] You may suppress this automatic install entirely by setting |
Beta Was this translation helpful? Give feedback.
The only way
shadow-cljs
adds anything topackage.json
is when it findsdeps.cljs
files on the classpath that specify:npm-deps
they need. That install only happens when the package is not already inpackage.json
. To check where a particular dependency is coming from you can runnpx shadow-cljs clj-repl
and then(shadow.cljs.devtools.server.npm-deps/get-deps-from-classpath)
It'll show something like this, just look for js-joda