lein-figwheel
lein-figwheel copied to clipboard
Inserting :foreign-libs with quotes crashes Figwheel
I tried to insert the :foreign-libs example given by David Nolen at https://clojurescript.org/news/2017-07-30-global-exports
:foreign-libs [{:provides ["cljsjs.react"]
:global-exports '{cljsjs.react React}}
{:provides ["cljsjs.react.dom"]
:global-exports '{cljsjs.react.dom ReactDOM}}]
However, the quotes before the inner maps crash Figwheel (0.5.14) during its validation phase...
It shouldn't crash so this is a bug.
If you want to use this now, it will work without the quotes.
Also, whenever supplying config in a leinigen project.clj you shouldn't quote them as leinigen automatically quotes everything.