<commit_before>"use strict";

const path = require('path');

module.exports = {
  entry: {
    datasources: './Samples-Typescript/DataSources/datasources.ts',
    filtering: './Samples-Typescript/Filtering/filtering.ts',
    parameters: './Samples-Typescript/Parameters/parameters.ts',
  },
  mode: 'production',
  output: {
    filename: '[name].js',
    path: __dirname + '/dist'
  },
  module: {
    rules: [
      {
        test: /\.ts$/,
        use: 'ts-loader'
      }
    ]
  },
  resolve: {
    modules: [__dirname, 'node_modules'],
    extensions: [
      '*', '.ts', '.js'
    ]
  }
};
<commit_msg>Add sourcemap for typescript extensions (#316)<commit_after>"use strict";

const path = require('path');

module.exports = {
  entry: {
    datasources: './Samples-Typescript/DataSources/datasources.ts',
    filtering: './Samples-Typescript/Filtering/filtering.ts',
    parameters: './Samples-Typescript/Parameters/parameters.ts',
  },
  mode: 'production',
  output: {
    filename: '[name].js',
    path: __dirname + '/dist'
  },
  module: {
    rules: [
      {
        test: /\.ts$/,
        use: 'ts-loader'
      }
    ]
  },
  resolve: {
    modules: [__dirname, 'node_modules'],
    extensions: [
      '*', '.ts', '.js'
    ]
  },
  optimization: {
    minimize: false
  },
  devtool: 'inline-source-map'
};

{'fraction_non_alphanumeric': 0.18401206636500755, 'fraction_numerical': 0.0022624434389140274, 'mean_word_length': 2.519893899204244, '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': '7346063', 'n_tokens_mistral': 462, 'n_tokens_neox': 447, 'n_words': 78}