docs: function replacePkgAndUri(content, options, buildInfo, file) {
          //处理其中的__pkg和__uri函数路径
          var reg = /(__pkg|__uri)\s*\(\s*([^\)]+)\s*\)/ig;
          var destMaps = {'.js':options.jsDestPath,'.css':options.cssDestPath};
  
          content = content.replace(reg, function(s, m, p) {
              var jp = p.trim().replace(/(^['"]*)|(['"]*$)/g, '');
              if(jp){
                  //处理md5码等后缀
                  s = replaceUrlHandler(jp, options, buildInfo, destMaps, file.path);
              }
              //当用的是__pkg则继续转为字符串，加引号，uri不需要
              if(m == '__pkg') {
                  s = '"' + s + '"';
              }
              //gutil.log(gutil.colors.blue('replace:'), gutil.colors.green(s));
              return s;
          });
  
          //处理<link rel="stylesheet" type="text/css" href=""> 这种url方式。
          reg = /\<link\s*[^\>]*?href\s*=\s*['|"]([^'"]+)['|"][^\>]*?[\/]?\>/ig;
          content = content.replace(reg, function(s, p, i) {  
              //处理md5码等后缀
              var newp = replaceUrlHandler(p, options, buildInfo, destMaps, file.path);
              //gutil.log(gutil.colors.blue('replace:'), gutil.colors.green(newp));
              return s.replace(p, newp);
          });
  
          //处理<script src=""> 这种src方式。
          reg = /\<script\s*[^\>]*?src\s*=\s*['|"]([^'"]+)['|"][^\>]*?[\/]?\>\s*?(\<\/script\>)?/ig;
          content = content.replace(reg, function(s, p, i) {  
              //处理md5码等后缀
              newp = replaceUrlHandler(p, options, buildInfo, destMaps, file.path);
              //gutil.log(gutil.colors.blue('replace:'), gutil.colors.green(newp));
              return s.replace(p, newp);
          });
  
  
          //处理<img src=""> 这种src方式。
          reg = /\<img\s*[^\>]*?src\s*=\s*['|"]([^'"]+)['|"][^\>]*?[\/]?\>/ig;
          content = content.replace(reg, function(s, p, i) {  
              //处理md5码等后缀
              newp = replaceUrlHandler(p, options, buildInfo, destMaps, file.path);
              //gutil.log(gutil.colors.blue('replace:'), gutil.colors.green(newp));
              return s.replace(p, newp);
          });
          return content;
      }