project.clj snippet:
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:externs ["react/externs/react.js"]
:main my-app/core
:optimizations :none
:pretty-print true}}}}
and here is what is written to app.js
document.write('<script src="resources/public/js/out/goog/base.js"></script>');
document.write('<script src="resources/public/js/out/cljs_deps.js"></script>');
document.write('<script>goog.require("my_app.core");</script>');
Problem is, my app serves the js/ directory, so it'd be nice if the script srcs where js/out/...
instead of resources/public/js/out...