<commit_before>module.exports = {
  context: __dirname,
  entry: './src/index.jsx',
  output: {
    path: './build',
    filename: 'index.js',
    library: 'CalendarHeatmap',
    libraryTarget: 'var'
  },
  resolve: {
    extensions: ['', '.js', '.jsx'],
    modulesDirectories: ['node_modules']
  },
  externals: {
    'react': {
      root: 'React',
      commonjs2: 'react',
      commonjs: 'react',
      amd: 'react'
    }
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        exclude: /(node_modules)/,
        loader: 'babel'
      }
    ]
  }
};
<commit_msg>Switch libraryTarget from var to umd<commit_after>module.exports = {
  context: __dirname,
  entry: './src/index.jsx',
  output: {
    path: './build',
    filename: 'index.js',
    library: 'CalendarHeatmap',
    libraryTarget: 'umd'
  },
  resolve: {
    extensions: ['', '.js', '.jsx'],
    modulesDirectories: ['node_modules']
  },
  externals: {
    'react': {
      root: 'React',
      commonjs2: 'react',
      commonjs: 'react',
      amd: 'react'
    }
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        exclude: /(node_modules)/,
        loader: 'babel'
      }
    ]
  }
};

{'fraction_non_alphanumeric': 0.18776194467728416, 'fraction_numerical': 0.0016764459346186086, 'mean_word_length': 2.0615384615384613, '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': '1954215', 'n_tokens_mistral': 435, 'n_tokens_neox': 428, 'n_words': 81}