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

module.exports = {
    entry: {
        app : './src/main/webapp/main.js',
        vendor : ['react', 'react-dom']
    },
    output: { path: __dirname + '/src/main/webapp/dist', filename: 'bundle.js' },
    devtool: 'source-map',
    module: {
        loaders: [
            {
                test: /.jsx?$/,
                loader: 'babel-loader',
                exclude: /node_modules/,
                query: {
                    presets: ['es2015', 'react']
                }
            }
        ]
    },
    plugins: [
        new webpack.optimize.CommonsChunkPlugin(/* chunkName= */"vendor", /* filename= */"vendor.bundle.js")
    ]
};<commit_msg>UglifyJsPlugin<commit_after>var path = require('path');
var webpack = require('webpack');

module.exports = {
    entry: {
        app : './src/main/webapp/main.js',
        vendor : ['react', 'react-dom']
    },
    output: { path: __dirname + '/src/main/webapp/dist', filename: 'bundle.js' },
    devtool: 'source-map',
    module: {
        loaders: [
            {
                test: /.jsx?$/,
                loader: 'babel-loader',
                exclude: /node_modules/,
                query: {
                    presets: ['es2015', 'react']
                }
            }
        ]
    },
    plugins: [
        new webpack.optimize.CommonsChunkPlugin(/* chunkName= */"vendor", /* filename= */"vendor.bundle.js"),
        new webpack.optimize.UglifyJsPlugin()
    ]
};
{'fraction_non_alphanumeric': 0.16776315789473684, 'fraction_numerical': 0.005263157894736842, 'mean_word_length': 1.5911413969335604, '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': '1747373', 'n_tokens_mistral': 480, 'n_tokens_neox': 459, 'n_words': 82}