I was able to figure out that I could create moduleName/1.0.0/moduleNamemodule.js and it would execute, though I've not been able to make a lot work this way without any documentation. In the end i'm trying to create a commonjs module that exposes the core commonjs elements (require, system, file) using the existing Titanium API for the low level functionality need to create a Titanium engine for required commonjs modules.
Thanks for your attention to this.
Thanks, that was helpful. I was able to declare a Titanium.CommonJS.require. Is it possible to expose the 'require' method directly (eg, not in Titanium.CommonJS)?
Think you can help? Login to answer this question!