settings: Use production webpack assets when PIPELINE_ENABLED in development.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-07-18 02:03:10 -07:00 committed by Tim Abbott
parent 1bb6634be1
commit 239aefca74
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ PIPELINE = {
'JAVASCRIPT': {},
}
if DEVELOPMENT:
if not PIPELINE_ENABLED:
WEBPACK_STATS_FILE = os.path.join('var', 'webpack-stats-dev.json')
else:
WEBPACK_STATS_FILE = 'webpack-stats-production.json'