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

module.exports = {
  entry: ['core-js/fn/array/from', path.resolve(__dirname, 'src/index.js')],
  output: {
    path: path.resolve(__dirname, 'dist'),
    libraryTarget: 'umd',
    library: 'feather',
  },
  devtool: 'source-map',<commit_msg>fix: Fix UMD build for node<commit_after>const path = require('path');

module.exports = {
  entry: ['core-js/fn/array/from', path.resolve(__dirname, 'src/index.js')],
  output: {
    path: path.resolve(__dirname, 'dist'),
    libraryTarget: 'umd',
    library: 'feather',
    // Prevents webpack from referencing `window` in the UMD build
    // Source: https://git.io/vppgU
    globalObject: 'typeof self !== \'undefined\' ? self : this',
  },
  devtool: 'source-map',
{'fraction_non_alphanumeric': 0.1820580474934037, 'fraction_numerical': 0.0, 'mean_word_length': 3.8653846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6298501', 'n_tokens_mistral': 258, 'n_tokens_neox': 254, 'n_words': 57}