Closed BnMcGn closed 4 months ago
Hi, looks complicated. Any guess what the root cause might be? I'd try upgrading clojurescript and figwheel, maybe look over their changelogs.
If it still seems like a re-com issue, maybe try some older versions, see if you can find a particular update that causes this breakage.
Also I don't have much experience with figwheel - you might have more luck posting an issue there, or on the figwheel template repo.
I dropped the re-com version back to 2.13.2 but got the same thing. Dropped the clojurescript version to 1.10.773, and the problem went away.
So it looks like some kind of compatibility issue between cljs 1.11 and re-com when advanced optimization is turned on.
Will dig some more...
Works with:
[org.clojure/clojure "1.11.1"]
[org.clojure/clojurescript "1.11.132"]
in project.clj
It's a bug in early cljs 1.11, not a re-com problem.
From a new figwheel-main project:
The generated project.clj, with re-com dependency added:
Also
[re-com.core :as rc]
has been added to the require list in src/retest/core.cljsAttempting an optimized build:
Results in:
The dev build works fine with
lein fig:build