<commit_before>module.exports = {
  entry: './src/index.js',

  resolve: {
    extensions: ['', '.js']
  },

  output: {
    path: './dist',
    filename: 'index.js'
  },

  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: 'babel-loader',
        query: {
          cacheDirectory: true,
          presets: ['es2015']
        },
        exclude: /node_modules/
      }
    ]
  }
}<commit_msg>Proper webpack config for lib<commit_after>module.exports = {
  entry: './src/index.js',

  resolve: {
    extensions: ['', '.js']
  },

  output: {
    path: './dist',
    filename: 'index.js',
    library: 'bemGenerator',
    libraryTarget: 'umd'
  },

  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: 'babel-loader',
        query: {
          cacheDirectory: true,
          presets: ['es2015']
        },
        exclude: /node_modules/
      }
    ]
  }
}
{'fraction_non_alphanumeric': 0.17758046614872364, 'fraction_numerical': 0.008879023307436182, 'mean_word_length': 1.6144927536231883, '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': '5586133', 'n_tokens_mistral': 323, 'n_tokens_neox': 305, 'n_words': 56}