<commit_before>const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MonitorStats = require('webpack-monitor');
const merge = require('webpack-merge');
const glob = require('glob');
const utils = require('./webpack.utils.js');

const PATHS = {
  app: path.join(__dirname, 'client/index.jsx'),
  build: path.join(__dirname, 'build'),
};


module.exports = merge([
  {
    entry: {
      vendor: ['react', 'react-dom'],
      app: PATHS.app,
    },
    output: {
      path: PATHS.build,
      filename: '[name].js',
    },
    resolve: {
      extensions: ['.js', 'json', '.jsx'],
    },
    devServer: {
      historyApiFallback: true,
      // contentBase: './build',
    },
    module: {
      rules: [
        {
          test: /\.jsx$/,
          loader: 'babel-loader',
        },
        {
          test: /\.css$/,
          use: ['style-loader', 'css-loader'],
        },
      ],
    },
    plugins: [
      new HtmlWebpackPlugin({
        inject: false,
        template: require('html-webpack-template'),
        title: 'Webpack Monitor',
        appMountId: 'root',
      }),
      new MonitorStats(),
    ],
  },
  // utils.extractCSS(),
  utils.purifyCSS({
    paths: glob.sync(`${PATHS.app}/**/*.js`, { nodir: true }),
  }),
  utils.extractVendorCode(),
  // utils.uglifyJS(),
]);<commit_msg>comment out monitor plugin<commit_after>const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MonitorStats = require('webpack-monitor');
const merge = require('webpack-merge');
const glob = require('glob');
const utils = require('./webpack.utils.js');

const PATHS = {
  app: path.join(__dirname, 'client/index.jsx'),
  build: path.join(__dirname, 'build'),
};


module.exports = merge([
  {
    entry: {
      vendor: ['react', 'react-dom'],
      app: PATHS.app,
    },
    output: {
      path: PATHS.build,
      filename: '[name].js',
    },
    resolve: {
      extensions: ['.js', 'json', '.jsx'],
    },
    devServer: {
      historyApiFallback: true,
      // contentBase: './build',
    },
    module: {
      rules: [
        {
          test: /\.jsx$/,
          loader: 'babel-loader',
        },
        {
          test: /\.css$/,
          use: ['style-loader', 'css-loader'],
        },
      ],
    },
    plugins: [
      new HtmlWebpackPlugin({
        inject: false,
        template: require('html-webpack-template'),
        title: 'Webpack Monitor',
        appMountId: 'root',
      }),
      // new MonitorStats(),
    ],
  },
  // utils.extractCSS(),
  utils.purifyCSS({
    paths: glob.sync(`${PATHS.app}/**/*.js`, { nodir: true }),
  }),
  utils.extractVendorCode(),
  // utils.uglifyJS(),
]);
{'fraction_non_alphanumeric': 0.1918819188191882, 'fraction_numerical': 0.0, 'mean_word_length': 2.2235434007134365, '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': '1631600', 'n_tokens_mistral': 875, 'n_tokens_neox': 868, 'n_words': 167}