Sometimes the projects that we develop have a need for extern files in development environment (google maps externs for instance). The problem is that simply using :externs ["google_maps_api_v3_36.js"]
in :duct.server/figwheel
's config makes figwheel crash with Null Pointer Exception
. We figured out that it's because figwheel demands that every js file would goog.provide
a namespace.
Now we wonder - perhaps this should be somehow monitored by duct.server/figwheel
? Or maybe we should bubble it up to figwheel itself?
Curious to hear your opinion on that.
That sounds like something to bubble up to Figwheel. In terms of cljs and externs, my knowledge is decidedly sketchy.