mirror of https://github.com/zulip/zulip.git
settings: Use production webpack assets when PIPELINE_ENABLED in development.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
1bb6634be1
commit
239aefca74
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue