mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
settings: Use production webpack assets when PIPELINE_ENABLED in development.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
1bb6634be1
commit
239aefca74
@@ -914,7 +914,7 @@ PIPELINE = {
|
|||||||
'JAVASCRIPT': {},
|
'JAVASCRIPT': {},
|
||||||
}
|
}
|
||||||
|
|
||||||
if DEVELOPMENT:
|
if not PIPELINE_ENABLED:
|
||||||
WEBPACK_STATS_FILE = os.path.join('var', 'webpack-stats-dev.json')
|
WEBPACK_STATS_FILE = os.path.join('var', 'webpack-stats-dev.json')
|
||||||
else:
|
else:
|
||||||
WEBPACK_STATS_FILE = 'webpack-stats-production.json'
|
WEBPACK_STATS_FILE = 'webpack-stats-production.json'
|
||||||
|
|||||||
Reference in New Issue
Block a user