Replies: 2 comments 4 replies
-
See nbb which already has this |
Beta Was this translation helpful? Give feedback.
3 replies
-
Looking at how we require things made me tried this without changing anything:
exports.hello = () => {
return 'Hello World!';
}
(ns foo
(:require ["./foo.js" :as js-foo]))
(js-foo/hello) Loading
However, we seem to cache the first load of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be cool, and maybe lower the entry bar to be able to require JavaScript files.
A workspace script could be a minimal glue that just require a JavaScript file. And we could even, given that we can require JavaScript files, support running JavaScript files as scripts.
Beta Was this translation helpful? Give feedback.
All reactions