<commit_before>// module.exports = {
//   context: `${__dirname}/app`,

//   entry: './js/app.js',

//   output: {
//     filename: 'bundle.js',
//     path: `${__dirname}/app`,
//   }
// };

const webpack = require('webpack');
const path = require('path');

module.exports = {
  entry: [
    './client/src/index'
  ],
  module: {
    loaders: [
      {
        test: /\.js?$/,
        loader: 'babel',
        exclude: /node_modules/,
        query: {
          presets: ['react']
        }
      },
      {
        test: /\.jsx$/,
        loader: 'babel',
        exclude: /node_modules/,
        query: {
          presets: ['react']
        }
      }
    ]
  },
  resolve: {
    extensions: ['', '.js', 'jsx']
  },
  output: {
    path: path.join(__dirname, 'client/dist/'),
    publicPath: '/app/',
    filename: 'bundle.js'
  },
  devServer: {
    contentBase: './client/dist',
    hot: true
  },
  plugins: [
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin()
  ]
};<commit_msg>reverted to default<commit_after>module.exports = {
  context: `${__dirname}/app`,

  entry: './js/app.js',

  output: {
    filename: 'bundle.js',
    path: `${__dirname}/app`,
  }
};

// const webpack = require('webpack');
// const path = require('path');

// module.exports = {
//   entry: [
//     './client/src/index'
//   ],
//   module: {
//     loaders: [
//       {
//         test: /\.js?$/,
//         loader: 'babel',
//         exclude: /node_modules/,
//         query: {
//           presets: ['react']
//         }
//       },
//       {
//         test: /\.jsx$/,
//         loader: 'babel',
//         exclude: /node_modules/,
//         query: {
//           presets: ['react']
//         }
//       }
//     ]
//   },
//   resolve: {
//     extensions: ['', '.js', 'jsx']
//   },
//   output: {
//     path: path.join(__dirname, 'client/dist/'),
//     publicPath: '/app/',
//     filename: 'bundle.js'
//   },
//   devServer: {
//     contentBase: './client/dist',
//     hot: true
//   },
//   plugins: [
//     new webpack.optimize.OccurenceOrderPlugin(),
//     new webpack.HotModuleReplacementPlugin(),
//     new webpack.NoErrorsPlugin()
//   ]
// };
{'fraction_non_alphanumeric': 0.21894548704200179, 'fraction_numerical': 0.0, 'mean_word_length': 1.6065192083818394, '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': '7104521', 'n_tokens_mistral': 772, 'n_tokens_neox': 767, 'n_words': 129}