Heyo! Is there a way to import a nbb script in a node file and run a function defined the nbb file?
@hallstrom.eric Yes:
(ns example)
(defn foo [] "Hello")
#js {:foo foo}
JS:
import { loadFile } from 'nbb'
const { foo } = loadFile('example.cljs')
foo()this is just amazing; then you can run clojure on vercel!!