Fork me on GitHub
#cljsrn
<
2017-05-09
>
lukesugiura03:05:12

Hi. I'm trying to use mvayngrib/rn-nodeify on my re-natal project but idk where to import shim.js generated by the library on root dir (the goal is to make crypto node module working on javascriptCore). Does anyone have any ideas?

vikeri12:05:06

@lukesugiura Does a normal (js/require "./shim.js") work?

jeff.engebretsen14:05:23

I have this in a node app (def fs (nodejs/require "fs"))

jeff.engebretsen14:05:56

nodejs is in my ns require [cljs.nodejs :as nodejs]