zulip/tools/webpack.production.config.js

9 lines
288 B
JavaScript
Raw Normal View History

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: 'webpack-stats-production.json'}));
module.exports = config;