Fork me on GitHub
#cljs-dev
<
2017-03-07
>
richiardiandrea19:03:19

I have some lumo sources, in src/js...if I include:

:foreign-libs [{:file "src" :module-type :es6-strict}

(require [js.lumo :as lumo-js])
It compiles fine, but then I receive:
No such namespace: js.lumo, could not locate js/lumo.cljs, js/lumo.cljc, or Closure namespace "js.lumo" in file test/lumo/repl_tests.cljs
I see my js sources in out/src/js, is it expected or a problem to report?

richiardiandrea19:03:31

I would expect them in out/js

anmonteiro19:03:51

@richiardiandrea you probably wanna add :file “src/js”

anmonteiro19:03:10

sorry I missed that before 🙂

richiardiandrea19:03:30

ok trying, I was following the tutorial, which says the above, but let me try 😄

richiardiandrea19:03:24

uhm, same, surprisingly the js sources are still in the same dir out/src/js