Fork me on GitHub
#cljsrn
<
2021-11-01
>
amorokh00:11:30

@dnolen well, I am really not familiar with the JS ecosystem and tooling and looking at the source doesn’t tell me much, the lib is written in TS and provides one index.ts file with multiple export { default as … } … entries, I guess that means some kind of default export? however, I did some more fiddling around and discovered a file npm_deps.js in the target folder of my project and it seems that setting :npm-deps to true in the build file for cljs compiler will add required modules to npm_deps.js

amorokh00:11:35

after some even more fiddling with the iOS simulator and metro I now have an environment in which requiring node modules seems to work ok.

amorokh00:11:11

I have no idea if what I am doing is the correct way but for now I am happy

amorokh00:11:34

@dnolen thanks for the work on Krell btw

👀 1
dnolen01:11:06

nice! and your welcome