Haven't used cljsbuild for a while, so I cannot say with 100% confidence.
2) output-to should be a single "target" file, output-dir for for everything
else which you may need if you compile with source-maps for example. The
individual files are also for caching to allow incremental compiles. You
Ok, I've gotten a bit further and have the following question:
1) Thomas, I was able to get the compile to complete using my original
refheap, which incidentally follows the chestnut template so I think
the structure of those options is ok.
2) I don't understand why there are still individual js
Thanks Thomas. I tried your version of the project.clj. Should the
output directory be the same in both dev and prod? Because when I set
them the same, I get this when trying the prod build:
Error encountered performing task 'cljsbuild' with profile(s): 'prod'
java.lang.Exception: All [:compiler :
1) The main js file is empty because of the closure compiler error. The
circular dependency is somewhere in your code, usually :none should detect it
as well but difficult to tell without the source.
2) I do not think the cljsbuild config should be in a profile.
https://www.refheap.com/96682
T