Hey TW community,
I remember some-one mentioning that one of the benefits of having a folder-style plugin (w/ the TIDDLYWIKI_PLUGINS_PATH Environment Variable set in your command-line $env) is that you can then install node sub-modules (say as a “require” in a package.josn), and $tw can (should be able to?) access those without loading those files “as a plugin”.
This is specific to TW running on node.js. I really want to avoid packaging certain required libraries and sending them to the browser if they are literally never used there.
I think its about how you address the require()
call, but the TW “module sandboxing” is throwing me… Any ideas?
Best,
Joshua Fontany