From 536783e6c98c2ba7134e224711a95368a89f4d38 Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Wed, 16 Sep 2015 12:26:01 -0400 Subject: [PATCH] hotfix/2015-09-16-3: Re-enable uglification of JavaScript in production. --- lms/envs/aws.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lms/envs/aws.py b/lms/envs/aws.py index 3566c13970..9399a79e6c 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -131,6 +131,9 @@ if STATIC_URL_BASE: if not STATIC_URL.endswith("/"): STATIC_URL += "/" +# Enable uglification of JavaScript +PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.uglifyjs.UglifyJSCompressor' + # DEFAULT_COURSE_ABOUT_IMAGE_URL specifies the default image to show for courses that don't provide one DEFAULT_COURSE_ABOUT_IMAGE_URL = ENV_TOKENS.get('DEFAULT_COURSE_ABOUT_IMAGE_URL', DEFAULT_COURSE_ABOUT_IMAGE_URL)