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

module.exports = {
  entry: (env) => {
    const entries = {
      angular: [
        path.join(__dirname, 'src/angular/tags-input.module.js')
      ],
      'angular-rx': [
        path.join(__dirname, 'src/angular-rx/tags-input.module.js')
      ],
      angular2: [
        path.join(__dirname, 'src/angular2/bootstrap.js')
      ],
      'angular2-ts': [
        path.join(__dirname, 'src/angular2-ts/bootstrap.ts')
      ],
      shared: [
        path.join(__dirname, 'src/shared/app.js')
      ]
    };

    if (env === 'dev') {
      for (const key in entries) {
        if (entries.hasOwnProperty(key)) {
          entries[key].push('webpack-hot-middleware/client?reload=true');
        }
      }
    }

    return entries;<commit_msg>use ts in shared app<commit_after>const path = require('path');
const webpack = require('webpack');
const autoprefixer = require('autoprefixer');

module.exports = {
  entry: (env) => {
    const entries = {
      angular: [
        path.join(__dirname, 'src/angular/tags-input.module.js')
      ],
      'angular-rx': [
        path.join(__dirname, 'src/angular-rx/tags-input.module.js')
      ],
      angular2: [
        path.join(__dirname, 'src/angular2/bootstrap.js')
      ],
      'angular2-ts': [
        path.join(__dirname, 'src/angular2-ts/bootstrap.ts')
      ],
      shared: [
        path.join(__dirname, 'src/shared/app.ts')
      ]
    };

    if (env === 'dev') {
      for (const key in entries) {
        if (entries.hasOwnProperty(key)) {
          entries[key].push('webpack-hot-middleware/client?reload=true');
        }
      }
    }

    return entries;
{'fraction_non_alphanumeric': 0.1644774414620217, 'fraction_numerical': 0.004568817818389492, 'mean_word_length': 2.274766355140187, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '871369', 'n_tokens_mistral': 563, 'n_tokens_neox': 563, 'n_words': 87}