File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
doc/modules/ROOT/pages/cljs Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,23 @@ options related to ClojureScript. Configuration that is specific
55to a particular REPL (e.g. `shadow-cljs` ) is covered separately
66in the individual REPL setup sections.
77
8+ == Modifying the ClojureScript jack-in dependencies
9+
10+ Out-of-the-box, CIDER injects a single dependency into ClojureScript REPLs - namely `piggieback`.
11+ If you'd like to inject more deps you'll have to modify the `cider-jack-in-cljs-dependencies`
12+ variable. Here's an example:
13+
14+ [source,lisp]
15+ ----
16+ ;; let's add Weasel on jack-in
17+ (cider-add-to-alist 'cider-jack-in-cljs-dependencies "weasel/weasel" "0.7.1")
18+ ----
19+
20+ Typically, modifying this variable is not needed, as ClojureScript dependencies are declared
21+ explicitly in your project configuration most of the time.
22+
23+ NOTE: Modifying this variable will affect all ClojureScript REPL types.
24+
825== Setting a Default ClojureScript REPL Type
926
1027If you frequently use the same ClojureScript REPL, you can set
You can’t perform that action at this time.
0 commit comments