So I put a main.cljs.edn file under rsc/js. This path is included in build.boot as such :resource-paths #{"rsc"}. When I compile everything, I end up with a js folder in my target dir and all looks good, but the final main.js artifact attempts to include scripts like so: <script src="main.out/cljs_deps.js"> when actually the scripts are under js/main.out/... thank you!
Okay, nvm I figured it out: :compiler-options {:asset-path "js/main.out"} that's the ticket. This could probably be clearer in the wiki. Deraen/saapas was a very helpful resource, thank you!
So I put a
main.cljs.edn
file underrsc/js
. This path is included in build.boot as such:resource-paths #{"rsc"}
. When I compile everything, I end up with ajs
folder in my target dir and all looks good, but the finalmain.js
artifact attempts to include scripts like so:<script src="main.out/cljs_deps.js">
when actually the scripts are underjs/main.out/
... thank you!