diff --git a/common/djangoapps/pipeline_mako/templates/static_content.html b/common/djangoapps/pipeline_mako/templates/static_content.html
index 578f504171..5bf30b62dc 100644
--- a/common/djangoapps/pipeline_mako/templates/static_content.html
+++ b/common/djangoapps/pipeline_mako/templates/static_content.html
@@ -78,23 +78,14 @@ source, template_path = Loader(engine).load_template_source(path)
%>${source | n, decode.utf8}%def>
<%def name="require_module(module_name, class_name)">
+ % if not settings.REQUIRE_DEBUG:
+
+ % endif
%def>