<commit_before>import webpack from 'webpack';
import path from 'path';

const { NODE_ENV } = process.env;

const plugins = [
  new webpack.optimize.OccurenceOrderPlugin(),
  new webpack.DefinePlugin({
    'process.env.NODE_ENV': JSON.stringify(NODE_ENV)
  })
];

const filename = `redux-xhr.${NODE_ENV}.js`;

export default {
  module: {
    loaders: [
      { test: /\*dex.js?$/,
        loaders: 'babel',
        include: path.resolve(__dirname, 'src')
      }
    ]
  },
  entry: [
    'whatwg-fetch',
    './src/index'
  ],
  output: {
    path: path.join(__dirname, 'dist'),
    filename,
    library: 'ReduxXhr',
    libraryTarget: 'umd'
  },
  plugins
};<commit_msg>Cleaned up webpack config.<commit_after>import path from 'path';
const { NODE_ENV } = process.env;
const filename = `redux-xhr.${NODE_ENV}.js`;

export default {
  entry: [
    'whatwg-fetch',
    './src/index'
  ],
  output: {
    path: path.join(__dirname, 'dist'),
    filename
  }
};
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 2.987551867219917, 'pattern_counts': {'":': 0, '<': 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': '2815415', 'n_tokens_mistral': 352, 'n_tokens_neox': 348, 'n_words': 69}