From db1e489e3850a49538c8d4d295f236de2d0d344f Mon Sep 17 00:00:00 2001 From: Matt Deacalion Stevens Date: Tue, 26 May 2015 01:26:10 +0100 Subject: [PATCH] Update ignore patterns list in built in finder When using a Bower package to pull in dependencies you end up with a `bower.json` file and a `bower_components` directory being collected. --- pipeline/finders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/finders.py b/pipeline/finders.py index 0fe0be65..39a4b783 100644 --- a/pipeline/finders.py +++ b/pipeline/finders.py @@ -93,6 +93,7 @@ class FileSystemFinder(PatternFilterMixin, FileSystemFinder): ignore_patterns = [ '*.js', '*.css', + '*.json', '*.less', '*.scss', '*.styl', @@ -114,4 +115,5 @@ class FileSystemFinder(PatternFilterMixin, FileSystemFinder): 'Makefile*', 'Gemfile*', 'node_modules', + 'bower_components', ]