Skip to content

Commit 343e6ae

Browse files
committed
CLJS-2772: Trying to run cljs.main repl with :modules results in brepl_deps.js being clojure.lang.LazySeq
dissoc :modules when computing brepl_deps.js
1 parent 6b7e940 commit 343e6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/repl/browser.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
(spit target
352352
(build/build
353353
'[(require '[clojure.browser.repl.preload])]
354-
(merge (select-keys opts cljsc/known-opts)
354+
(merge (dissoc (select-keys opts cljsc/known-opts) :modules)
355355
{:opts-cache "brepl_opts.edn"})))))
356356
(server/start repl-env)
357357
(let [base-url (str "http://" (:host repl-env) ":" (:port repl-env))]

0 commit comments

Comments
 (0)