index.js
function generateManifestFile() {
    if (Object.keys(deps).length === 0) {
      this.emit('end');
    } else if (!entryPoint) {
      this.emit('error',
          new gutil.PluginError(PLUGIN_NAME, 'Closure entry point is not specified'));    
    } else {
      var manifest = generateManifest(entryPoint);

      var manifestFile = new gutil.File({
        contents: new Buffer(manifest.join('\n')),
        path: fileName
      });

      this.emit('data', manifestFile);
      this.emit('end');
    }
  }
function generateManifestFile() {
    if (Object.keys(deps).length === 0) {
      this.emit('end');
    } else if (!entryPoint) {
      this.emit('error',
          new gutil.PluginError(PLUGIN_NAME, 'Closure entry point is not specified'));    
    } else {
      var manifest = generateManifest(entryPoint);

      var manifestFile = new gutil.File({
        contents: new Buffer(manifest.join('\n')),
        path: fileName
      });

      this.emit('data', manifestFile);
      this.emit('end');
    }
  }
function generateManifestFile ( ) { if ( Object . keys ( deps ) . length === 0 ) { this . emit ( 'end' ) ; } else if ( ! entryPoint ) { this . emit ( 'error' , new gutil . PluginError ( PLUGIN_NAME , 'Closure entry point is not specified' ) ) ; } else { var manifest = generateManifest ( entryPoint ) ; var manifestFile = new gutil . File ( { contents : new Buffer ( manifest . join ( '\n' ) ) , path : fileName } ) ; this . emit ( 'data' , manifestFile ) ; this . emit ( 'end' ) ; } }
Generates a manifest file with one path per line.
Generates a manifest file with one path per line .