build-system/tasks/size.js
/**
 * Pipe the distributable js files through the sizer to get a record of
 * the content size before and after gzip and cleanup any temporary file
 * output from the process.
 */
Pipe the distributable js files through the sizer to get a record of
the content size before and after gzip and cleanup any temporary file
output from the process.
Pipe the distributable js files through the sizer to get a record of the content size before and after gzip and cleanup any temporary file output from the process .
function sizeTask() {
  gulp.src([
      'dist/**/*.js',
      '!dist/**/*-latest.js',
      '!dist/**/*check-types.js',
      'dist.3p/{current,current-min}/**/*.js',
    ])
    .pipe(sizer())
    .pipe(gulp.dest(tempFolderName))
    .on('end', del.bind(null, [tempFolderName]));
}
function sizeTask ( ) { gulp . src ( [ 'dist/**/*.js' , '!dist/**/*-latest.js' , '!dist/**/*check-types.js' , 'dist.3p/{current,current-min}/**/*.js' , ] ) . pipe ( sizer ( ) ) . pipe ( gulp . dest ( tempFolderName ) ) . on ( 'end' , del . bind ( null , [ tempFolderName ] ) ) ; }
Pipe the distributable js files through the sizer to get a record of
 the content size before and after gzip and cleanup any temporary file
 output from the process.
Pipe the distributable js files through the sizer to get a record of the content size before and after gzip and cleanup any temporary file output from the process .