modules/jooby-assets/src/main/java/org/jooby/assets/AssetCompiler.java
/**
   * Iterate over fileset and common path pattern for them. Example:
   *
   * <pre>
   * {
   *   assets {
   *     fileset {
   *       lib: [js/lib/jquery.js],
   *       home: [css/style.css, js/home.js]
   *     }
   *   }
   * }
   * </pre>
   *
   * This method returns a set with <code>/css/**</code> and <code>/js/**</code> pattern.
   *
   * @return Path pattern of the entire fileset.
   */
Iterate over fileset and common path pattern for them.

This method returns a set with /css and /js pattern.

@return Path pattern of the entire fileset.
Iterate over fileset and common path pattern for them . This method returns a set with / css and / js pattern . @return Path pattern of the entire fileset .
public Set<String> patterns() {
    return patterns(file -> !aggregators.stream()
        .filter(it -> it.fileset().contains(file))
        .findFirst().isPresent())
        .map(v -> "/" + v + "/**")
        .collect(Collectors.toCollection(LinkedHashSet::new));
  }
public Set < String > patterns ( ) { return patterns ( file -> ! aggregators . stream ( ) . filter ( it -> it . fileset ( ) . contains ( file ) ) . findFirst ( ) . isPresent ( ) ) . map ( v -> "/" + v + "/**" ) . collect ( Collectors . toCollection ( LinkedHashSet :: new ) ) ; }
Iterate over fileset and common path pattern for them.
Iterate over fileset and common path pattern for them .