[...]But that's not the main issue. The main issue comes when you try to use modules. The module search paths are always relative to the path of the root file, and not the file which is importing the module. For example, say I've this structure,-- app.js--lib/--module1.js--module2.jsAnd say, you try to do this in app.js,// app.jsimports.searchPath.unshift(".");const Module1 = imports.lib.module1Then the following in module1.js// module1.jsimports.searchPath.unshift(".");const Module2 = imports.module2But this won't work, even if both module1.js and module2.js are in the same directory. I'll have to do,imports.searchPath.unshift(".");const Module1 = imports.lib.module1This is very frustrating, especially when you are trying to build a set of libraries to use.