var webpack = require('webpack');
var common = require('./webpack.common.config.js');
var assign = require('object-assign');

module.exports = assign(common, {
    debug: true,
    plugins: common.plugins.concat([
        new webpack.optimize.DedupePlugin(),
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.optimize.AggressiveMergingPlugin(),
        new webpack.optimize.UglifyJsPlugin({exclude: /conference.*?\.js$/})
    ])
});

@@ -157,25 +157,8 @@
 , %7B%0A
-    debug: true,%0A
     
@@ -336,32 +336,177 @@
 ergingPlugin(),%0A
+        new webpack.DefinePlugin(%7B%0A            'process.env': %7B%0A                NODE_ENV: JSON.stringify('production')%0A            %7D%0A        %7D),%0A
         new webp

Set NODE_ENV to production