mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
var config = require('./webpack.config.js');
|
||||
var BundleTracker = require('webpack-bundle-tracker');
|
||||
|
||||
config.devtool = 'source-map';
|
||||
config.output.filename = '[name]-[hash].js';
|
||||
config.plugins.push(new BundleTracker({filename: 'static/webpack-bundles/webpack-stats-production.json'}));
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user