mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Move the webpack stats files to var/ and deploy root.
static/ serves static files which get copied around per deploy. Since the webpack stats files need a consistent name and change per deploy, they can't live in static/. This fixes a bug that preventing downgrading a Zulip server to an old version.
This commit is contained in:
committed by
Tim Abbott
parent
09043c25ca
commit
01b0ec69d6
@@ -13,7 +13,7 @@ config.entry.common.push('./static/js/debug.js');
|
||||
|
||||
config.devtool = 'eval';
|
||||
config.output.publicPath = '/webpack/';
|
||||
config.plugins.push(new BundleTracker({filename: 'static/webpack-bundles/webpack-stats-dev.json'}));
|
||||
config.plugins.push(new BundleTracker({filename: 'var/webpack-stats-dev.json'}));
|
||||
// Hot Reload of code in development
|
||||
config.plugins.push(new webpack.HotModuleReplacementPlugin());
|
||||
// Better logging from console for hot reload
|
||||
|
||||
Reference in New Issue
Block a user