<commit_before>const preloaders = require("./preloaders");
const loaders = require("./loaders");
const webpack = require("webpack");

module.exports = {
  entry: ["./src/index.ts"],
  output: {
    filename: "build.js",
    path: "tmp"
  },
  resolve: {
    extensions: [
      ".ts",
      ".js",
      ".json"
    ]
  },
  resolveLoader: {
    modulesDirectories: ["node_modules"]
  },
  devtool: "source-map-inline",
  module: {
    preLoaders: preloaders,
    loaders: loaders,
    postLoaders: [
      {
        test: /^((?!\.spec\.ts).)*.ts$/,
        exclude: /(node_modules)/,
        loader: "istanbul-instrumenter"
      }
    ]
  },
  tslint: {
      emitErrors: true,
      failOnHint: true
  }
};
<commit_msg>Edit webpack configs for test. Delete useless configs<commit_after>const preloaders = require("./preloaders");
const loaders = require("./loaders");
const webpack = require("webpack");
const path = require("path");

module.exports = {
  context: path.join(__dirname, ".."),
  entry: ["./src/test.ts"],
  output: {
    filename: "build.js",
    path: path.resolve("temp"),
    publicPath: "/"
  },
  resolve: {
    extensions: [
      ".ts",
      ".js",
      ".json"
    ]
  },
  resolveLoader: {
    modules: ["node_modules"]
  },
  devtool: "source-map-inline",
  module: {
    loaders: loaders
    /* postLoaders: [
      {
        test: /^((?!\.spec\.ts).)*.ts$/,
        exclude: /(node_modules)/,
        loader: "istanbul-instrumenter"
      }
    ] */
  }
};

{'fraction_non_alphanumeric': 0.1912751677852349, 'fraction_numerical': 0.0, 'mean_word_length': 2.3733031674208145, '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': '6437294', 'n_tokens_mistral': 526, 'n_tokens_neox': 520, 'n_words': 94}