code: function (build, logger) {
                  //Make sure config has a log level, and if not,
                  //make it "silent" by default.
                  config.logLevel = config.hasOwnProperty('logLevel') ?
                                    config.logLevel : logger.SILENT;
  
                  var result = build(config);
  
                  //Reset build internals on each run.
                  requirejs._buildReset();
  
                  if (callback) {
                      callback(result);
                  }
              }
docs: Create the function that will be called once build modules have been loaded.