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 files for each
of my namespaces put into the out/ dir. Isn't the idea of an advanced
compile to combine everything into a single file? Or is it that I can
remove those files in the out/ dir after compile completes, that those
are just intermediate necessities while it completes the main js file?
3) Why is the profile name specified twice in the command you noted:
lein with-profile prod cljsbuild once prod
4) I got around the circular dependency by just removing the problem
namespace for now. But I don't understand why the compiler would
report a circular dependency in the first place. First of all, the app
works fine with no warning with optimizations are :none. Second, this
namespace :requires 3 other of my namespaces, plus core.async. None of
those other namespaces are :requiring this problem namespace reported
in the circular dependency. Isn't a circular dependency when File A
requires File B, and vice versa? If so, that is not happening here.
Now, both files can require File C, that's fine, right?
--
hellofunk