<commit_before>var path = require('path');
var webpack = require('webpack');

var paths = {
  SRC: path.resolve(__dirname, './src'),
  DIST: path.resolve(__dirname, './lib')
};

module.exports = {

  output: {
    path: paths.DIST,
    filename: 'bundle.js'
  },

  module: {
    loaders: [
      {
        test: /\.jsx?$/,<commit_msg>fix: add library options to webpack output<commit_after>var path = require('path');
var webpack = require('webpack');

var paths = {
  SRC: path.resolve(__dirname, './src'),
  DIST: path.resolve(__dirname, './lib')
};

module.exports = {

  output: {
    path: paths.DIST,
    filename: 'bundle.js',
    libraryTarget: 'umd',
    library: 'cashpad'
  },

  module: {
    loaders: [
      {
        test: /\.jsx?$/,
{'fraction_non_alphanumeric': 0.1855807743658211, 'fraction_numerical': 0.0, 'mean_word_length': 2.8461538461538463, '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': '5474933', 'n_tokens_mistral': 269, 'n_tokens_neox': 255, 'n_words': 57}