cljs-web3 icon indicating copy to clipboard operation
cljs-web3 copied to clipboard

npm-deps support?

Open martinklepsch opened this issue 7 years ago • 1 comments

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.

martinklepsch avatar Feb 17 '18 12:02 martinklepsch

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 😉

madvas avatar Feb 17 '18 19:02 madvas