Skip to content

Commit fef574b

Browse files
committed
compile should not use cljsc_opts.edn, it's only for REPLs which
can't get this information by any other means.
1 parent d345e86 commit fef574b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/clojure/cljs/cli.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,8 @@ present"
435435
main-ns (if (and ns (not ((into rfs sfs) ns)))
436436
(symbol ns)
437437
(:main options))
438-
coptsf (when-let [od (:output-dir options)]
439-
(io/file od "cljsc_opts.edn"))
440438
opts (as->
441439
(merge
442-
(when (and coptsf (.exists coptsf))
443-
(edn/read-string (slurp coptsf)))
444440
(select-keys env-opts
445441
(cond-> [:target] repl? (conj :browser-repl)))
446442
options

0 commit comments

Comments
 (0)