Hello,
I am compiling a js library that works when imported directly from in a html index file opened in the browser.
When I try to add it to my app in retool, the library seem to load correctly (no errors), but I can't access the functions, nor the variables it exports, in the debug console.
I have tried various options (using a global name, subscribing the exports in globalThis, accessing directly to exported function and values). Every time the functions/variables are said to be undefined.
They don't show in the chrome debug console either.
Any hint on what I might be doing wrong?
Thanks,