<commit_before>var config = require('./webpack.dev.config.js');
var webpack = require('webpack');
config.entry = "./index.jsx";
config.output.filename = "index.min.js";
delete config.devtool;
config.plugins = config.plugins.filter(function(plugin){
  return !(plugin instanceof webpack.HotModuleReplacementPlugin);
}).concat([
  new webpack.optimize.UglifyJsPlugin(),
  new webpack.optimize.DedupePlugin()
]);

module.exports = config;<commit_msg>Defined process.env = production from prod webpack conf<commit_after>var config = require('./webpack.dev.config.js');
var webpack = require('webpack');
config.entry = "./index.jsx";
config.output.filename = "index.min.js";
delete config.devtool;
config.plugins = config.plugins.filter(function(plugin){
  return !(plugin instanceof webpack.HotModuleReplacementPlugin);
}).concat([
  new webpack.DefinePlugin({
    "process.env": {
      NODE_ENV: JSON.stringify("production")
    }
  }),
  new webpack.optimize.UglifyJsPlugin(),
  new webpack.optimize.DedupePlugin()
]);

module.exports = config;
{'fraction_non_alphanumeric': 0.15532118887823587, 'fraction_numerical': 0.0, 'mean_word_length': 5.444444444444445, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3059244', 'n_tokens_mistral': 319, 'n_tokens_neox': 317, 'n_words': 60}