Fork me on GitHub
#cljs-dev
<
2018-04-30
>
richiardiandrea17:04:16

Hello folks, I am trying to understand the foreign lib part of the test-npm-deps-simple core test:

:foreign-libs [{:module-type :es6
                        :file "src/test/cljs/es6_dep.js"
                        :provides ["es6_calc"]}
                      {:module-type :es6
                       :file "src/test/cljs/es6_default_hello.js"
                       :provides ["es6_default_hello"]}

richiardiandrea17:04:36

in particular es6_dep.js imports ./calculator.js

richiardiandrea17:04:07

is node executed within src/test/cljs/ ? or put it differently, how can it work otherwise?

richiardiandrea17:04:28

sorry I am not explaining this correctly

richiardiandrea17:04:44

I am referring to the node call in node-module-deps

richiardiandrea17:04:53

that resolves the dependencies

richiardiandrea17:04:07

and calls cljs/module_deps.js