--dir option for compiling a directory of modules into AMD or CommonJS