This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-30
Channels
- # aleph (12)
- # beginners (23)
- # boot (12)
- # cider (40)
- # cljs-dev (8)
- # cljsrn (20)
- # clojars (1)
- # clojure (122)
- # clojure-canada (2)
- # clojure-dev (21)
- # clojure-gamedev (2)
- # clojure-italy (3)
- # clojure-nl (12)
- # clojure-norway (1)
- # clojure-sanfrancisco (3)
- # clojure-spec (59)
- # clojure-uk (114)
- # clojurescript (50)
- # clojurex (1)
- # cursive (2)
- # datascript (2)
- # datomic (26)
- # emacs (5)
- # fulcro (19)
- # garden (1)
- # hoplon (54)
- # leiningen (42)
- # luminus (14)
- # off-topic (24)
- # om (5)
- # onyx (7)
- # re-frame (2)
- # reagent (31)
- # reitit (3)
- # ring-swagger (39)
- # shadow-cljs (8)
- # sql (3)
- # tools-deps (13)
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"]}
in particular es6_dep.js
imports ./calculator.js
is node
executed within src/test/cljs/
? or put it differently, how can it work otherwise?
@richiardiandrea FWIW, our Travis is set up so it can run node
: https://github.com/clojure/clojurescript/blob/master/.travis.yml#L6
sorry I am not explaining this correctly
I am referring to the node
call in node-module-deps
that resolves the dependencies
and calls cljs/module_deps.js