I am working on an encryption project with TW where I need to leverage an additional node.js core module (crypto, in this case) and a non-core module (node-forge). I read the thread where Jeremy mentioned that the easiest way to include other node modules is to wrap them as a plugin. Make perfect sense, and I suspect works in almost all cases. In my case, though, I do not think this will work. First, with crypto, since it is a core module, I cannot easily wrap it as a TW plugin. Second, in the case of node-forge, it is actually comprised of numerous Javascript files, some of which are fairly large (~ 130K).
My question is this: is there another way to include additional node modules without wrapping them as a plugin? I do not want to modify boot.js since that will make upgrading problematic.
If anyone could point me in the right direction, I would really appreciate it.
Thanks!!
Kurt