Fork me on GitHub
#cljsjs
<
2017-04-20
>
rgdelato18:04:12

Apologies if this is a dumb question: I'm trying to add an ES6 library that does a default export. How do I make it so that users can write (js/Library args) instead of ((.-default js/Library) args)?

bunkers21:04:22

I think I might have a similar question to you @rgdelato. I’ve been writing the externs for P5 and have a got a utils namespace with a load of wrapper functions to hide a lot of the JS interop code. I’m not sure where to put this cljs file to get it bundled in to the jar.

bunkers21:04:47

ignore me I’m being dumb!