Add RequireJS and RequireJS Optimizer configuration to the LMS
Respond to review comments: - Rename build and config files for consistency between lms/studio. - Fix merge conflicts with lms require config. - Devstack uses optimized pipeline to skip require JS optimizer step - Add tests for render_require_js_path_overrides
This commit is contained in:
@@ -30,6 +30,11 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
LMS_BASE = "localhost:8000"
|
||||
FEATURES['PREVIEW_LMS_BASE'] = "preview." + LMS_BASE
|
||||
|
||||
########################### PIPELINE #################################
|
||||
|
||||
# Skip RequireJS optimizer in development
|
||||
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
|
||||
|
||||
############################# ADVANCED COMPONENTS #############################
|
||||
|
||||
# Make it easier to test advanced components in local dev
|
||||
|
||||
Reference in New Issue
Block a user