fix: disable browser REPL preload that blocks script loading

The default ClojureScript build includes clojure.browser.repl.preload
which tries to connect to a REPL server on load. When no REPL is
running, this blocks the goog.require chain and the app never
initializes (stuck on "Loading from local store").

Set :preloads [] and :browser-repl false in build.edn.
This commit is contained in:
Florian Schroedl
2026-04-04 18:21:53 +02:00
parent 455e80f4e8
commit 7b0b320a76

View File

@@ -2,4 +2,6 @@
:output-to "example/todomvc/js/main.js"
:output-dir "example/todomvc/js/out"
:asset-path "js/out"
:optimizations :none}
:optimizations :none
:preloads []
:browser-repl false}