scripts/gulp/styles.js
function stylesGrid() {
  return gulp.src( 'packages/cf-grid/src-generated/*.less' )
    .pipe( gulpLess( {
      paths: [ 'node_modules/cf-*/src/' ],
      compress: true
    } ) )
    .pipe( gulpPostcss( [
      autoprefixer( {
        grid: true,
        browsers: BROWSER_LIST.LAST_2_PLUS_IE_8_AND_UP
      } )
    ] ) )
    .pipe( gulpRename( {
      basename: 'cf-grid',
      extname: '.min.css'
    } ) )
    .pipe( gulp.dest( 'packages/cf-grid' ) );
}
function stylesGrid() {
  return gulp.src( 'packages/cf-grid/src-generated/*.less' )
    .pipe( gulpLess( {
      paths: [ 'node_modules/cf-*/src/' ],
      compress: true
    } ) )
    .pipe( gulpPostcss( [
      autoprefixer( {
        grid: true,
        browsers: BROWSER_LIST.LAST_2_PLUS_IE_8_AND_UP
      } )
    ] ) )
    .pipe( gulpRename( {
      basename: 'cf-grid',
      extname: '.min.css'
    } ) )
    .pipe( gulp.dest( 'packages/cf-grid' ) );
}
function stylesGrid ( ) { return gulp . src ( 'packages/cf-grid/src-generated/*.less' ) . pipe ( gulpLess ( { paths : [ 'node_modules/cf-*/src/' ] , compress : true } ) ) . pipe ( gulpPostcss ( [ autoprefixer ( { grid : true , browsers : BROWSER_LIST . LAST_2_PLUS_IE_8_AND_UP } ) ] ) ) . pipe ( gulpRename ( { basename : 'cf-grid' , extname : '.min.css' } ) ) . pipe ( gulp . dest ( 'packages/cf-grid' ) ) ; }
cf-grid needs to compile cf-grid-generated.less.
@returns {PassThrough} A source stream.
cf - grid needs to compile cf - grid - generated . less .