Skip to content

Commit ebd61c4

Browse files
committed
Add missing ignore_pattern to FileSystemFinder.
Some third party js/css libraries installed through bower, contain broken references in CSS: url(...). When using PipelineCachedStorage, this breaks during collectstatic. As with AppDirectoriesFinder, ignore CSS. CSS is a pielinable content that can be managed through a pipeline asset. True, these CSS fixes should be fixed in their respective projects. Bugs have been filed, but this fix will allow pipeline users to continue using third party libraries without breaking builds and deployment.
1 parent b547fab commit ebd61c4

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
@@ -77,6 +77,7 @@ class FileSystemFinder(PatternFilterMixin, FileSystemFinder):
7777
"""
7878
ignore_patterns = [
7979
'*.js',
80+
'*.css',
8081
'*.less',
8182
'*.scss',
8283
'*.sh',

0 commit comments

Comments
 (0)