code: function concactStatic (modulePath, config, cb) {
    var streamArr = [];
    var staticPath = require(path.join(modulePath, 'static-conf')).staticPath;
    streamArr.push(vinylFs
      .src([path.join(modulePath, config.dest, '_', 'static', 'css', '**', '*.css'), path.join(modulePath, config.dest, '_', 'static', 'sass', '**', '*.css')])
      .pipe(vinylFs.dest(path.join(modulePath, config.dest, '_static', 'css')))
    );
    streamArr.push(vinylFs
      .src(path.join(modulePath, config.dest, '_', 'static', 'js', '**', '*.js'))
      .pipe(vinylFs.dest(path.join(modulePath, config.dest, '_static', 'js')))
    );
    es.merge(streamArr).on('end', function () {
      var streamArr = [];
      if (_.isEmpty(staticPath)) {
        cb();
        return;
      }
      for (var key in staticPath) {
        // css
        if (path.extname(key).indexOf('css') >= 0) {
          streamArr.push(vinylFs
            .src(staticPath[key].map(function (item) {
              return path.join(modulePath, config.dest, '_', item);
            }))
            .pipe(concatCore(key))
            .pipe(vinylFs.dest(path.join(modulePath, config.dest, '_static', 'css'))));
        }
  
        // js
        if (path.extname(key).indexOf('js') >= 0) {
          streamArr.push(vinylFs
            .src(staticPath[key].map(function (item) {
              return path.join(modulePath, config.dest, '_', item);
            }))
            .pipe(concatCore(key))
            .pipe(vinylFs.dest(path.join(modulePath, config.dest, '_static', 'js'))));
        }
      }
      es.merge(streamArr).on('end', function () {
        cb();
      });
    });
  }
docs: 通过读取static-conf配置来进行资源合并