boot-clj / boot-cljs

Boot task to compile ClojureScript programs.
Eclipse Public License 1.0
176 stars 40 forks source link

File paths of Includes in main.js don't take into account main.cljs.edn path #117

Closed leblowl closed 8 years ago

leblowl commented 8 years ago

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!

leblowl commented 8 years ago

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!