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;