I have the following lib declared in project.clj:foreign-libs [{:file "node_modules/leaflet-plugins/layer/tile/Google.js" :provides ["leaflet-plugins"]}
and require it as (ns foo.bar (:require [leaflet-plugins]))
And my app can use it just fine.
However, when doing lein doo chrome test, it would complain for no such namespace: leaflet-plugins
I have the following lib declared in
project.clj
:foreign-libs [{:file "node_modules/leaflet-plugins/layer/tile/Google.js" :provides ["leaflet-plugins"]}
and require it as(ns foo.bar (:require [leaflet-plugins]))
And my app can use it just fine.
However, when doing
lein doo chrome test
, it would complain forno such namespace: leaflet-plugins
Is it possible to include foreign libs?