Feedback and contributions welcome
I didn’t even know this was a thing until just now. Thank you for sharing! I’ll take a look at your changes as well and get back to you with feedback if I have anything
@agiletortoise hinted me to the manual.
There is a
require(logging.js) function that uses scripts from the iCloud Folder Drafts/Library/Scripts (with the example Drafts/Library/Scripts/logging.js
So that is the place to create the files to