Closed nblumoe closed 9 years ago
Hey, thanks for the report.
This was a regression in boot-cljs
which I tried to fix but seemingly my fix had some issues: https://github.com/cljsjs/boot-cljsjs/issues/18.
I just pushed a new version of tenzing that uses [adzerk/boot-cljs "0.0-2629-9"]
which should include my broken fix so you'll probably end up at the same place as in the linked issue above. I'll check if I can reproduce this now with the test case that @pithyless provided.
The script tags added to
index.html
have one/js
too much:The path should be
/js/react.inc.js
, that's where the file actually resides on the filesystem and should be reached by the webserver. So the file resides in the right place, but a wrong path ends up inadzerk.boot-cljs.middleware/write-src
I'd think.It's reproducible in a fresh app created with tenzing (https://github.com/martinklepsch/tenzing) via
lein new tenzing broken-app +reagent
and runningboot dev
.I also tried downgrading boot-cljsjs, as there has been a recent change on the paths handling (https://github.com/cljsjs/boot-cljsjs/commit/f277193738f77865bbc1fe84cd4ae6dc325fd06d), but the problem also existed on v0.3.1.