shadow-cljs icon indicating copy to clipboard operation
shadow-cljs copied to clipboard

Default `:browser-test` index.html breaks in subdirectories

Open KingMob opened this issue 6 months ago • 0 comments

The default generated index.html for the browser-test target uses [:script {:src "/js/test.js"}] (note the starting "/"), which fails if it's not at a web root.

A quick fix would be to change it to [:script {:src "js/test.js"}], since the "js" dir is relative.

KingMob avatar Sep 26 '25 06:09 KingMob