Skip to content

Commit de6db1d

Browse files
committed
Exclude node_modules in FileSystemFinder.
Some bower components (such as TinyMCE) require the user to use node and npm to install build dependencies and build the static components. This results in a node_modules, created by npm, directory inside the bower component directory. This is a very large directory not part of the final built static files. So ignore it.
1 parent ebd61c4 commit de6db1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pipeline/finders.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ class FileSystemFinder(PatternFilterMixin, FileSystemFinder):
9797
'*demo*',
9898
'Makefile*',
9999
'Gemfile*',
100+
'node_modules',
100101
]

0 commit comments

Comments
 (0)