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

module.exports = {
  entry: [
    require.resolve('babel-polyfill'),
    path.resolve('src/index.js'),
  ],
  output: {
    filename: '[name].js',
    path: path.resolve('build/assets'),
    publicPath: '/assets/',
  },
  plugins: [],
  resolve: {
    extensions: ['', '.js', '.json'],
  },
  resolveLoader: {
    root: path.resolve(__dirname, '../node_modules'),
  },
  module: {
    loaders: [{
      test: /\.js$/,
      loader: 'babel',
      include: [path.resolve('src'), path.resolve('server.js')],
      query: {
        passPerPreset: true,
        presets: [<commit_msg>fix thenib build by using the correct babel loader<commit_after>const path = require('path');
const precss = require('precss');
const autoprefixer = require('autoprefixer');

module.exports = {
  entry: [
    require.resolve('babel-polyfill'),
    path.resolve('src/index.js'),
  ],
  output: {
    filename: '[name].js',
    path: path.resolve('build/assets'),
    publicPath: '/assets/',
  },
  plugins: [],
  resolve: {
    extensions: ['', '.js', '.json'],
  },
  resolveLoader: {
    root: path.resolve(__dirname, '../node_modules'),
  },
  module: {
    loaders: [{
      test: /\.js$/,
      loader: 'babel-loader',
      include: [path.resolve('src'), path.resolve('server.js')],
      query: {
        passPerPreset: true,
        presets: [
{'fraction_non_alphanumeric': 0.1971153846153846, 'fraction_numerical': 0.0, 'mean_word_length': 3.0027472527472527, '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': '486160', 'n_tokens_mistral': 481, 'n_tokens_neox': 477, 'n_words': 92}