mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +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,8 +1,10 @@
|
||||
var config = require('./webpack.config.js');
|
||||
var BundleTracker = require('webpack-bundle-tracker');
|
||||
|
||||
config.entry.push('webpack-dev-server/client?http://0.0.0.0:9991/socket.io');
|
||||
config.entry.translations.push('webpack-dev-server/client?http://0.0.0.0:9991/socket.io');
|
||||
config.devtool = 'eval';
|
||||
config.output.publicPath = 'http://0.0.0.0:9991/webpack/';
|
||||
config.plugins.push(new BundleTracker({filename: 'static/webpack-bundles/webpack-stats-dev.json'}));
|
||||
|
||||
config.devServer = {
|
||||
port: 9994,
|
||||
|
||||
Reference in New Issue
Block a user