code: function generateContent(file) {
      var content, isOptimizer = config.get('isOptimizer'),
          escodegenOpts = {},
          exports;
  
      if (!file.isLikeJs) {
          content = file.getContent();
      } else {
          if (isOptimizer) {
              escodegenOpts = {
                  format: {
                      indent: {
                          style: '',
                          base: 0
                      },
                      compact: true,
                      newLine: ''
                  }
              }
          }
  
          if (file.getContent().match(requireRegExp)) {
              // 生成content
              content = escodegen.generate(file.ast, escodegenOpts);
              content = content.replace(/(<<<require>>>\s*;+)|(<<<require>>>\s*,+)/gim, "");
              if (isOptimizer) {
                  content = content.replace(/([;,][\s\n\r]*(?=[;,]))/gi, "").replace(/(,[\s\n\r]*(?=(var)))/gi, ";");
              } else {
                  content = content.replace(/([\s\n\r]+);/gi, "");
              }
              content = content.replace(closureReg(file.nsRegExp), '');
              exports = file.exports;
              if (exports && 'type' in exports && exports.type === Syntax.Identifier) {
                  content = content.replace(new RegExp(file.nsRegExp, 'igm'), '');
              }
          } else {
              content = file.getContent();
          }
  
  
      }
  
      if (!content) {
          file.setContent('');
          return;
      }
  
  
      file.setContent(content);
  }
docs: 生成编译后的文件内容