Files
zulip/tools/webpack.production.config.js
Mehanig 3f5d0e69fb Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
2017-05-24 18:38:03 -07:00

9 lines
311 B
JavaScript

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;