File: 0002-Change-default-compressors.patch

package info (click to toggle)
django-pipeline 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 904 kB
  • sloc: python: 3,170; makefile: 120; javascript: 59
file content (22 lines) | stat: -rw-r--r-- 809 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Brian May <bam@debian.org>
Date: Thu, 24 Mar 2016 09:14:37 +1100
Subject: Change default compressors

Replace default compressors with compressors available in Debian main.
---
 pipeline/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/pipeline/conf.py
+++ b/pipeline/conf.py
@@ -12,8 +12,8 @@
     "PIPELINE_ROOT": _settings.STATIC_ROOT,
     "PIPELINE_URL": _settings.STATIC_URL,
     "SHOW_ERRORS_INLINE": _settings.DEBUG,
-    "CSS_COMPRESSOR": "pipeline.compressors.yuglify.YuglifyCompressor",
-    "JS_COMPRESSOR": "pipeline.compressors.yuglify.YuglifyCompressor",
+    'CSS_COMPRESSOR': 'pipeline.compressors.cssmin.CSSMinCompressor',
+    'JS_COMPRESSOR': 'pipeline.compressors.jsmin.JSMinCompressor',
     "COMPILERS": [],
     "STYLESHEETS": {},
     "JAVASCRIPT": {},