/*global require: false, module: false */
'use strict';
var webpack = require('webpack');
var config = require('./webpack.config');

config.output.filename = "[name].[chunkhash].js";
config.output.chunkFilename = "[chunkhash].bundle.js";
config.plugins = config.plugins.concat([
    new webpack.optimize.UglifyJsPlugin(),
    new webpack.optimize.OccurenceOrderPlugin(true),
	new webpack.DefinePlugin({
		"process.env": {
			NODE_ENV: '"production"' // disable reactjs run-time checks, docs, etc.
		}
	})
]);

module.exports = config;

@@ -25,16 +25,32 @@
  module:
+ false, process:
  false *
@@ -51,16 +51,16 @@
 alse */%0A
-
 'use str
@@ -142,16 +142,199 @@
 fig');%0A%0A
+process.env.NODE_ENV = '%22production%22';         // * Not sure why needed both here & in a plugin.%0A                                               // Without this babel will not see it.%0A
 config.o
@@ -613,24 +613,17 @@
 .env
-%22: %7B%0A%09%09%09
+.
 NODE_ENV
 : '%22
@@ -618,16 +618,17 @@
 NODE_ENV
+%22
 : '%22prod
@@ -643,55 +643,20 @@
  // 
-disable reactjs run-time checks, docs, etc.%0A%09%09%7D
+* see above.
 %0A%09%7D)

Fix production env for babel.