Fork me on GitHub

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)?


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.


ignore me I’m being dumb!