code: function define(path, factoryOrObject, options) {
          /*
          $_mod.def('/baz$3.0.0/lib/index', function(require, exports, module, __filename, __dirname) {
              // module source code goes here
          });
          */
  
          var globals = options && options.globals;
  
          definitions[path] = factoryOrObject;
  
          if (globals) {
              var target = win || global;
              for (var i=0;i<globals.length; i++) {
                  var globalVarName = globals[i];
                  var globalModule = loadedGlobalsByRealPath[path] = requireModule(path);
                  target[globalVarName] = globalModule.exports;
              }
          }
      }
docs: Defines a packages whose metadata is used by raptor-loader to load the package.