<commit_before>const path = require('path');

module.exports = {
  devtool: 'eval',
  resolve: {
    root: __dirname + '/src/js'
  },
  entry: [
    './src/js/main'
  ],
  output: {
    path: path.join(__dirname, 'build/js'),
    filename: 'main.js',
    publicPath: '/js/',
  },
  module: {
    loaders: [{
      test: /\.js$/,
      loader: 'babel-loader',
      include: path.join(__dirname, 'src/js'),
      query: {
        presets: ['es2015', 'stage-0', 'react']
      }
    }]
  }
};
<commit_msg>add babel-polyfill and move main.js from src/js to src/<commit_after>const path = require('path');

module.exports = {
  devtool: 'eval-source-map',
  resolve: {
    root: __dirname + '/src/',
  },
  entry: [
    'babel-polyfill',
    './src/main',
  ],
  output: {
    path: path.join(__dirname, 'build/js'),
    filename: 'main.js',
    publicPath: '/',
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: 'babel-loader',
        include: path.join(__dirname, 'src/'),
        query: {
          presets: ['es2015', 'stage-0', 'react'],
        },
      },
    ],
  },
};

{'fraction_non_alphanumeric': 0.2056159420289855, 'fraction_numerical': 0.009057971014492754, 'mean_word_length': 2.0952380952380953, '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': '2448034', 'n_tokens_mistral': 414, 'n_tokens_neox': 403, 'n_words': 76}