Compress sass and js, except in dev environments
This commit is contained in:
@@ -300,9 +300,10 @@ PIPELINE_COMPILERS = [
|
||||
'pipeline.compilers.coffee.CoffeeScriptCompiler',
|
||||
]
|
||||
|
||||
PIPELINE_SASS_ARGUMENTS = '-r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'.format(proj_dir=PROJECT_ROOT)
|
||||
PIPELINE_SASS_ARGUMENTS = '-t compressed -r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'.format(proj_dir=PROJECT_ROOT)
|
||||
|
||||
PIPELINE_CSS_COMPRESSOR = None
|
||||
PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.yui.YUICompressor'
|
||||
|
||||
STATICFILES_IGNORE_PATTERNS = (
|
||||
"sass/*",
|
||||
@@ -311,6 +312,8 @@ STATICFILES_IGNORE_PATTERNS = (
|
||||
"*.pyc"
|
||||
)
|
||||
|
||||
PIPELINE_YUI_BINARY = '/usr/bin/yui-compressor'
|
||||
|
||||
################################### APPS #######################################
|
||||
INSTALLED_APPS = (
|
||||
# Standard ones that are always installed...
|
||||
|
||||
@@ -85,5 +85,4 @@ FILE_UPLOAD_HANDLERS = (
|
||||
########################### PIPELINE #################################
|
||||
|
||||
PIPELINE_COFFEE_SCRIPT_BINARY = 'coffee'
|
||||
PIPELINE_JS_COMPRESSOR = None
|
||||
PIPELINE_CSS_COMPRESSOR = None
|
||||
PIPELINE_SASS_ARGUMENTS = '-r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'.format(proj_dir=PROJECT_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user