code: function (name, path, contents) {
          contents = contents.replace(rDefineStart, '');
  
          if (rDefineEndWithReturn.test(contents)) {
            contents = contents.replace(rDefineEndWithReturn, '');
          } else {
            contents = contents.replace(rDefineEnd, '');
          }
          return contents;
        }
docs: Strip all definitions generated by requirejs
  
  @param {String} name
  @param {String} path
  @param {String} contents The contents to be written (including their AMD wrappers)