cljs-web3
cljs-web3 copied to clipboard
npm-deps support?
Hey Matus! hope you're doing well :)
Was just wondering if you have explored using :npm-deps instead of the cljsjs/web3 dependency? This would allow for dead code elimination of stuff inside the web3.js dependency and remove the need for externs to be updated whenever the API changes.
Navigating ClojureScript Fire Swamps has some slides at the end describing the process and benefits of native module processing.
Hey Martin!
I've tried it with :npm-deps few months ago, got bunch of ugly looking errors, so I left it. Maybe things have changed since then, I'll try again when I find time.
Thanks for letting me know 😉