<commit_before>const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');

module.exports = {

  entry: './app/index',

  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
  },

  devtool: 'source-map',

  module: {
    rules: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, 'app'),
        ],
        loader: 'babel-loader',
        options: {
          presets: [
            "react",
            [
              "env",
              {
                targets: {
                  electron: true,
                },
              },
            ],
          ],
          plugins: ['transform-object-rest-spread'],
        },
      },
      {
        test: /\.css$/,
        use: [
          'style-loader',
          {
            loader: 'css-loader',
            options: {
              modules: true,
              importLoaders: 1,
              localIdentName: '[path][name]__[local]--[hash:base64:5]',
            },
          },
          'postcss-loader',
        ],
      },
      {
        test: /\.ttf$/,
        include: [
          path.resolve(__dirname, 'app', 'assets'),
        ],
        loader: 'file-loader',
      },
    ],
  },

  target: 'electron-renderer',

  plugins: [ new HtmlWebpackPlugin() ],

};<commit_msg>Adding a title to the bundle HTML.<commit_after>const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');

module.exports = {

  entry: './app/index',

  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
  },

  devtool: 'source-map',

  module: {
    rules: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, 'app'),
        ],
        loader: 'babel-loader',
        options: {
          presets: [
            "react",
            [
              "env",
              {
                targets: {
                  electron: true,
                },
              },
            ],
          ],
          plugins: ['transform-object-rest-spread'],
        },
      },
      {
        test: /\.css$/,
        use: [
          'style-loader',
          {
            loader: 'css-loader',
            options: {
              modules: true,
              importLoaders: 1,
              localIdentName: '[path][name]__[local]--[hash:base64:5]',
            },
          },
          'postcss-loader',
        ],
      },
      {
        test: /\.ttf$/,
        include: [
          path.resolve(__dirname, 'app', 'assets'),
        ],
        loader: 'file-loader',
      },
    ],
  },

  target: 'electron-renderer',

  plugins: [ new HtmlWebpackPlugin({
    title: 'Themer',
  }) ],

};
{'fraction_non_alphanumeric': 0.15975027543150935, 'fraction_numerical': 0.0029379360998898272, 'mean_word_length': 1.202101859337106, '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': '463312', 'n_tokens_mistral': 821, 'n_tokens_neox': 785, 'n_words': 132}