Hi, seems like this question is missing some info. Do you still face this issue or is this thread obsolete?
Thanks for your reply. It’s a current vs. obsolete issue.
I see now that the post didn’t include the example I thought I had pasted in.
Let me try again:
<script src="https://cdn.jsdelivr.net/npm/gun/gun.js"></script> <script src="https://cdn.jsdelivr.net/npm/gun/sea.js"></script> <script src="https://cdn.jsdelivr.net/npm/gun/lib/webrtc.js"></script> <script> further code dependent on the src's listed above would be inserted here </script>
Some possibly helpful related information:
Hopefully, one method or the other is possible?
Still hoping to get some feedback on this possible avenue…
yep, I had thought of the copy-paste hack but … is there a line or file size limit for the JS node?
Shouldn’t be a hard limit, but you might run into performance issues if you have a node that’s run many times and it always loads a huge dependency from scratch.
I’ll probably just try it and see.
In my case, that may be a significant factor since the custom libraries would be needed for each create, read, update or delete REST request … and there could be more than one of each on a page.