<commit_before>var path = require("path");
var webpack = require("webpack");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var webpack = require("webpack");
var merge = require('webpack-merge');
var ENV = process.env.NODE_ENV || 'development';

var common = {
  entry: {
    'index': './src/index.js',
  },

  output: {
    path: path.join(__dirname, 'dist'),
    filename: '[name].bundle.js',
    publicPath: './dist/',
    sourceMapFilename: '[name].map'
  },

  resolve: {
    extensions: ['.js',],
    modules: [path.join(__dirname, 'src'), 'node_modules']
  },

  module: {
    rules: [
      
      {
        test: /\.(js|html)$/,
        exclude: [
          path.resolve(__dirname, "node_modules")
        ],
        include: [
          path.resolve(__dirname, "dist"),
          path.resolve(__dirname, "src")
        ],
        use: {
          loader: "babel-loader",
          query: {
            presets: ["es2015", "stage-0"],
          }
        }
      },
      {
        test: /\.(html|svelte)$/,
        exclude: /node_modules/,
        use: "svelte-loader"<commit_msg>dupe require(webpack), removed include line<commit_after>var path = require("path");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var webpack = require("webpack");
var merge = require('webpack-merge');
var ENV = process.env.NODE_ENV || 'development';

var common = {
  entry: {
    'index': './src/index.js',
  },

  output: {
    path: path.join(__dirname, 'dist'),
    filename: '[name].bundle.js',
    publicPath: './dist/',
    sourceMapFilename: '[name].map'
  },

  resolve: {
    extensions: ['.js',],
    modules: [path.join(__dirname, 'src'), 'node_modules']
  },

  module: {
    rules: [
      
      {
        test: /\.(js|html)$/,
        exclude: [
          path.resolve(__dirname, "node_modules")
        ],
        include: [
          path.resolve(__dirname, "src")
        ],
        use: {
          loader: "babel-loader",
          query: {
            presets: ["es2015", "stage-0"],
          }
        }
      },
      {
        test: /\.(html|svelte)$/,
        exclude: /node_modules/,
        use: "svelte-loader"
{'fraction_non_alphanumeric': 0.18224081822408184, 'fraction_numerical': 0.004649000464900047, 'mean_word_length': 2.0919540229885056, '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': '5855613', 'n_tokens_mistral': 697, 'n_tokens_neox': 676, 'n_words': 130}