Fork me on GitHub
#joyride
<
2022-12-18
>
zimablue14:12:42

I see the fixed classpath noted in the documentation, is there any way to work around this in order to require eg. nbb compatible files in a seperate clojurescript project?

pez14:12:21

Not currently. You might get away with symlinking the library.

zimablue14:12:00

Is there any reason why I couldn't hack my own require using readFile and eval? Not totally sure how ns and eval interact in this runtime

pez14:12:57

That might work.

👍 1
borkdude15:12:28

We could offer some add-classpath function like bb and nbb have

borkdude15:12:54

So you can add arbitrary dirs to the classpath

zimablue14:12:40

*from a seperate clojurescript project is probably a better way to say it

zimablue14:12:58

nbb has eval and we're on nodejs which can read files if all else failed right but maybe there's a simpler way

seancorfield18:12:48

In case you're not in #C8NUSGWG6 and you have some specific feedback...

🎉 2
joyride 1