Commit 4c80d267 by Clinton Blackburn

Restored Django Compressor settings

Django Compressor is still used by Publisher, so these settings are still needed.

ECOM-5776
parent df87d79b
...@@ -152,6 +152,15 @@ STATICFILES_FINDERS = ( ...@@ -152,6 +152,15 @@ STATICFILES_FINDERS = (
'compressor.finders.CompressorFinder', 'compressor.finders.CompressorFinder',
) )
COMPRESS_PRECOMPILERS = (
('text/x-scss', 'django_libsass.SassCompiler'),
)
# Minify CSS
COMPRESS_CSS_FILTERS = [
'compressor.filters.css_default.CssAbsoluteFilter',
]
WEBPACK_LOADER = { WEBPACK_LOADER = {
'DEFAULT': { 'DEFAULT': {
'BUNDLE_DIR_NAME': 'bundles/', 'BUNDLE_DIR_NAME': 'bundles/',
......
...@@ -11,6 +11,7 @@ django-filter==1.0.4 ...@@ -11,6 +11,7 @@ django-filter==1.0.4
django-fsm==2.6.0 django-fsm==2.6.0
django-guardian==1.4.8 django-guardian==1.4.8
django-haystack==2.5.0 django-haystack==2.5.0
django-libsass==0.7
django-simple-history==1.8.1 django-simple-history==1.8.1
django-solo==1.1.2 django-solo==1.1.2
django-sortedm2m==1.4.0 django-sortedm2m==1.4.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment