Use sassc for django-compressor

This commit is contained in:
Tatsuyuki Ishi
2017-07-27 19:40:21 +09:00
parent 6d79d91142
commit a757df8f55

View File

@@ -281,8 +281,8 @@ SOCIALACCOUNT_PROVIDERS = {
# #
COMPRESS_PRECOMPILERS = ( COMPRESS_PRECOMPILERS = (
('text/less', 'lessc {infile} {outfile}'), ('text/less', 'lessc {infile} {outfile}'),
('text/x-scss', 'sass -t compressed {infile} {outfile}'), ('text/x-scss', 'sassc -t compressed {infile} {outfile}'),
('text/x-sass', 'sass -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'),
) )
# On a production setup, setting COMPRESS_OFFLINE to True will bring a # On a production setup, setting COMPRESS_OFFLINE to True will bring a