jubalm / grunt-fontello

grunt task for downloading fonts from fontello.com
MIT License
45 stars 25 forks source link

Allow regular expression in the exclude options #44

Closed ericcornelissen closed 6 years ago

ericcornelissen commented 6 years ago

Add functionality to allow the usage of regular expression in the exclude option, for example:

fontello: {
  options: {
    exclude: [
      'animation.css',
      /fontello-ie7*.css/ // Excludes fontello-ie7.css and fontello-ie7-codes.css
    ] 
  }
}