code: function inlineJSToJS(content, options, file) {
          var reg = /(__cmdinline|__inline)\s*\(\s*([^\)]+)\s*\)\s*[;]*/ig;
  
          options.inlineDeep = (options.inlineDeep||0) + 1;
  
          console.log('start inlineJSToJS replace __cmdinline/__inline');
          content = content.replace(reg, function(s, p, i){
              console.log(i)
              var ps = i.split(',');
              var inlinecontent = '';
              if(ps && ps.length) {
                  for(var j=0;j<ps.length;j++) {
                      var jp = ps[j];
                      if(!jp) continue;
                      jp = jp.trim().replace(/(^['"]*)|(['"]*$)/g, '');
                      var p = path.resolve(path.join(options.destPath, jp));
                      if(!fs.existsSync(p)) {
                          p = path.resolve(path.join(options.root, jp));
                      }
                      if(!fs.existsSync(p)) {
                          p = path.resolve(path.join(path.dirname(file.path), jp));
                      }
                      console.log(p);
                      inlinecontent += parseJS({path:p}, options);
                  }
              }
              return inlinecontent;
          });
          return content;
      }
docs: 处理JS中的内联js