lib/asset-smasher.js
function (cb) {
    this.reset();
    var bundle = this.bundle;
    var self = this;
    async.waterfall([
      function (wfCb) {
        if (self.verbose) {
          console.log('findAssets: starting discovery phase');
        }
        executePhase(self.phases.discovery, bundle, wfCb);
      },
      function (b, wfCb) {
        if (self.verbose) {
          console.log('findAssets: starting name transformation phase');
        }
        async.eachLimit(bundle.getAllAssets(), 50, function (asset, eachCb) {
          executePhase(self.phases.nameTransformation, asset, eachCb);
        }, wfCb);
      }
    ], cb);
  }
function (cb) {
    this.reset();
    var bundle = this.bundle;
    var self = this;
    async.waterfall([
      function (wfCb) {
        if (self.verbose) {
          console.log('findAssets: starting discovery phase');
        }
        executePhase(self.phases.discovery, bundle, wfCb);
      },
      function (b, wfCb) {
        if (self.verbose) {
          console.log('findAssets: starting name transformation phase');
        }
        async.eachLimit(bundle.getAllAssets(), 50, function (asset, eachCb) {
          executePhase(self.phases.nameTransformation, asset, eachCb);
        }, wfCb);
      }
    ], cb);
  }
function ( cb ) { this . reset ( ) ; var bundle = this . bundle ; var self = this ; async . waterfall ( [ function ( wfCb ) { if ( self . verbose ) { console . log ( 'findAssets: starting discovery phase' ) ; } executePhase ( self . phases . discovery , bundle , wfCb ) ; } , function ( b , wfCb ) { if ( self . verbose ) { console . log ( 'findAssets: starting name transformation phase' ) ; } async . eachLimit ( bundle . getAllAssets ( ) , 50 , function ( asset , eachCb ) { executePhase ( self . phases . nameTransformation , asset , eachCb ) ; } , wfCb ) ; } ] , cb ) ; }
Find, but do not compile all the assets according to the options.
Find but do not compile all the assets according to the options .