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

module.exports = (function(options) {

  return {
    entry: {
      main: __dirname + "/src/index.ts"
    },

    output: {
      path: __dirname + "/dist",
      filename: "bundle.js"
    },

    extensions: ['.ts', '.js', '.json'],

    devtool: 'source-map',

    module: {
      loaders: [
        { test: /\.ts$/, loader: "awesome-typescript-loader" }
      ]
    },

    plugins: [
      new webpack.optimize.UglifyJsPlugin()
    ],

    resolve: {
      root: [ path.join(__dirname, "./node_modules"), path.join(__dirname, "./src") ]
    }


  }
})()
<commit_msg>move 'extensions' config to the right place<commit_after>const webpack = require('webpack')
const path = require('path')

module.exports = (function(options) {

  return {
    entry: {
      main: __dirname + "/src/index.ts"
    },

    output: {
      path: __dirname + "/dist",
      filename: "bundle.js"
    },

    devtool: 'source-map',

    module: {
      loaders: [
        { test: /\.ts$/, loader: "awesome-typescript-loader" }
      ]
    },

    plugins: [
      new webpack.optimize.UglifyJsPlugin()
    ],

    resolve: {
      extensions: ['.ts', '.js', '.json'],
      root: [ path.join(__dirname, "./node_modules"), path.join(__dirname, "./src") ]
    }


  }
})()

{'fraction_non_alphanumeric': 0.18454613653413354, 'fraction_numerical': 0.0, 'mean_word_length': 2.2536585365853656, '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': '6372007', 'n_tokens_mistral': 460, 'n_tokens_neox': 440, 'n_words': 86}