All files / wdclib webpack-production.config.babel.js

0% Statements 0/5
100% Branches 0/0
100% Functions 0/0
0% Lines 0/5
1 2 3 4 5 6 7 8 9 10 11 12 13                         
import webpack from 'webpack';
import baseConfig from './webpack.config.babel';
 
// Add the minifying plugin for production
let minifier = new webpack.optimize.UglifyJsPlugin();
 
baseConfig.plugins.push(minifier);
 
// Update the file name we output
baseConfig.output.filename = 'bundle.min.js';
 
export default baseConfig;