Fork me on GitHub
#cljsjs
<
2016-03-16
>
asolovyov12:03:11

@juhoteperi: I hope you will not hate me for this simple_smile

bartadv18:03:18

Hi! Just looking for some info, as I can't really find an answer on any pages about foreign-libs/cljsjs packaging. How should I require the other JS modules my module depend on (assuming they are already in cljsjs)?

bartadv18:03:33

The library I'm trying to incorporate is: https://github.com/marnusw/react-css-transition-replace. It uses npm, so I've built JS file with browserify (specifying react and react-dom as --external), the problem is that when being run, the require('react') is unable to require react that is provided by cljsjs.react