function buildSrc(config) {
  return new Promise((resolve,reject)=>{
    webpack(config, function (err, stats) {
      if (err) {
        reject(err);
        return;
      }
      process.stdout.write(stats.toString({
        colors: true,
        modules: false,
        children: false,
        chunks: false,
        chunkModules: false
      }) + '\n\n')
      resolve();
    });
  });
}
function buildSrc(config) {
  return new Promise((resolve,reject)=>{
    webpack(config, function (err, stats) {
      if (err) {
        reject(err);
        return;
      }
      process.stdout.write(stats.toString({
        colors: true,
        modules: false,
        children: false,
        chunks: false,
        chunkModules: false
      }) + '\n\n')
      resolve();
    });
  });
}
function buildSrc ( config ) { return new Promise ( ( resolve , reject ) => { webpack ( config , function ( err , stats ) { if ( err ) { reject ( err ) ; return ; } process . stdout . write ( stats . toString ( { colors : true , modules : false , children : false , chunks : false , chunkModules : false } ) + '\n\n' ) resolve ( ) ; } ) ; } ) ; }
febs.file.fileRemove(path.join(root, 'dist/jquery-1.11.3.min.js')); febs.file.fileCopy(path.join(root, 'test/jquery-1.11.3.min.js'), path.join(root, 'dist/jquery-1.11.3.min.js'));
febs . file . fileRemove ( path . join ( root dist / jquery - 1 . 11 . 3 . min . js )) ; febs . file . fileCopy ( path . join ( root test / jquery - 1 . 11 . 3 . min . js ) path . join ( root dist / jquery - 1 . 11 . 3 . min . js )) ;