src/Robo/Filesets/Filesets.php
protected function getFrontendFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->path("*/js/*")
      ->name("*.js")
      ->notName('*.min.js')
      ->notPath('bower_components')
      ->notPath('node_modules')
      ->notPath('vendor');

    return $finder;
  }
protected function getFrontendFilesetFinder() {
    $finder = new Finder();
    $finder
      ->files()
      ->path("*/js/*")
      ->name("*.js")
      ->notName('*.min.js')
      ->notPath('bower_components')
      ->notPath('node_modules')
      ->notPath('vendor');

    return $finder;
  }
protected function getFrontendFilesetFinder ( ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> path ( "*/js/*" ) -> name ( "*.js" ) -> notName ( '*.min.js' ) -> notPath ( 'bower_components' ) -> notPath ( 'node_modules' ) -> notPath ( 'vendor' ) ; return $ finder ; }
Adds Drupalistic JS patterns to a Symfony finder object.

@return \Symfony\Component\Finder\Finder
The finder object.
Adds Drupalistic JS patterns to a Symfony finder object .