Open
Description
Has anyone been able to compile bleeding edge clojurescript 1.9.854 (with the global-exports
feature) when compiling with dependencies from cljsjs?
I’m getting a stack error of
/Users/.../.boot/cache/tmp3s9/d54ps8/main.out/cljsjs/development/moment.inc.js is not a relative path {:from :boot-cljs}
Per the alpha recommendation of reagent 0.8, I have added a foreign-lib config to my :compiler-options
:
;; note this is improper -- moment should be /cljsjs/moment/moment.file--, but
;; it's packaged incorrectly on cljsjs as /cljsjs/moment.file
{:foreign-libs [
{:file "cljsjs/development/moment.inc.js"
:file-min "cljsjs/production/moment.min.inc.js"
:provides ["moment"]
:global-exports '{moment moment}]}
I know the clojure version is still a release candidate, but I'm not really sure where to start digging. We have one suspect here at issue CLJS-2152. Did this release fix a "problem" on which boot-cljs was depending?