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

module.exports = {
  entry: {
    index: './src/index'
  },
  output: {
    path: './dist',
    libraryTarget: 'commonjs2',
    filename: 'index.js'
  },
  resolve: {
    extensions: ['.js', '.json'],
    modules: [
      path.resolve('./src'),
      path.resolve('./node_modules'),
    ]
  },
  plugins: [
    new webpack.DefinePlugin({ "global.GENTLY": false })
  ],
  node: {
    __dirname: true,
  },
  target: 'electron-renderer',
  module: {
    rules: [{
      test: /\.jsx?$/,
      use: {
        loader: 'babel-loader'
      },
      exclude: /node_modules/
    }, {
      test: /\.css$/,
      use: [{
        loader: 'style-loader'
      }, {
        loader: 'css-loader',
        query: {
          modules: true
        }
      }]
    }, {
      test: /\.png$/,
      use: {
        loader: 'url-loader'
      }
    }, {
      test: /\.json$/,
      use: 'json-loader'
    }, {
      test: /\.s[ac]ss$/,
      use: [{
          loader: "style-loader"
      }, {
          loader: "css-loader"
      }, {
          loader: "sass-loader"
      }]
  }]
  }
};<commit_msg>Clean up webpack config<commit_after>const webpack = require('webpack');
const path = require('path');

module.exports = {
  entry: {
    index: './src/index'
  },
  output: {
    path: './dist',
    libraryTarget: 'commonjs2',
    filename: 'index.js'
  },
  resolve: {
    extensions: ['.js', '.json'],
    modules: [
      path.resolve('./src'),
      path.resolve('./node_modules'),
    ]
  },
  plugins: [
    new webpack.DefinePlugin({ "global.GENTLY": false })
  ],
  node: {
    __dirname: true,
  },
  target: 'electron-renderer',
  module: {
    rules: [
      { test: /\.jsx?$/, use: 'babel-loader', exclude: /node_modules/ },
      { test: /\.css$/, use: [
          { loader: 'style-loader' },
          { loader: 'css-loader', query: { modules: true } }
        ] },
      { test: /\.png$/, use: 'url-loader' },
      { test: /\.json$/, use: 'json-loader' },
      { test: /\.s[ac]ss$/, use: ['style-loader','css-loader', 'sass-loader'] }
    ]
  }
};
{'fraction_non_alphanumeric': 0.2090183184593706, 'fraction_numerical': 0.0009394081728511038, 'mean_word_length': 1.8249336870026525, 'pattern_counts': {'":': 2, '<': 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': '6392055', 'n_tokens_mistral': 761, 'n_tokens_neox': 743, 'n_words': 139}