Michiel Borkent
Michiel Borkent
Yes. We need some sort of classpath implementation for this.
@chr15m Thanks for the feedback and also for sponsoring me. Feel free to create another issue about this, since cljs.core.async isn't specific to this issue. It might be challenging to...
Also possibly interesting code: https://github.com/eginez/calvin/blob/master/src/main/clojure/eginez/calvin/core.cljs
I found a way to accomplish this with npm alone, as long as the dep itself has a package.json: https://github.com/borkdude/nbb/blob/f1ec61ec37c2fd70270572145668fec68ab2ed97/examples/sitefox/package.json#L3
@lilactown This is sort of how I would do it too. You would rely on `bb` or `clojure` but that may be reasonable. Experimental work on this is certainly welcome....
We're going with the current `nbb.edn` approach for now.
Sure!
It should probably work like this: ``` user=> (ns foo (:refer-clojure :exclude [cat])) nil foo=> (deftype cat []) foo.cat foo=> foo.cat foo.cat foo=> (ns bar (:refer-clojure :exclude [cat]) (:import [foo...
`refer-clojure` now works, but I think both SCI and nbb should emit a warning here as well.
ClojureScript: ``` ClojureScript 1.10.866 cljs.user=> (ns foo.baz (:require [goog.object :refer [get]])) nil foo.baz=> foo.baz=> foo.baz=> foo.baz=> get #object[Function] foo.baz=> (get #js{:a 1} "a") 1 ```