Webpack config prod/dev split

EDUCATOR-1448

Modifies paver webpack task to use production configuration in all
non-devstack environments, and a development config in devstack.
This commit is contained in:
Eric Fischer
2017-10-25 13:58:05 -04:00
parent e712a2f1f1
commit 3fc342e6e8
11 changed files with 153 additions and 69 deletions

View File

@@ -48,6 +48,9 @@ STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
]
# Load development webpack donfiguration
WEBPACK_CONFIG_PATH = 'webpack.dev.config.js'
############################ PYFS XBLOCKS SERVICE #############################
# Set configuration for Django pyfilesystem