<commit_before>


const path = require('path');
const webpack = require('webpack');


module.exports = {

    entry: ['babel-polyfill', './src/graphly.js'],
    output: {
        filename: 'dist/graphly.min.js',
        library: 'graphly',
        libraryTarget: 'window',
    },
    externals: {
        // TODO: Do not include dependencies in release?
        "d3": "d3",
        "papaparse": "papaparse",
        "plotty": "plotty",
        "msgpack": "msgpack-lite"
    },
    plugins: [
        //new webpack.optimize.UglifyJsPlugin()
    ],
    module: {
       loaders: [
            { test: /\.css$/, loader: "style-loader!css-loader" },
        ],
        rules: [
            {
                test: /\.css$/,
                use: [ 'style-loader', 'css-loader' ]
            },
            {
                test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
                loader: 'url-loader',
                options: {
                    limit: 10000
                }
            },
            {
                test: /\.js$/,
                exclude: /(node_modules|bower_components)/,
                use: {
                    loader: 'babel-loader',
                    options: {
                         presets: ['es2015'],
                    }
                }
            }
        ]
    },
    node: {
      fs: 'empty'
    },
    cache: true
};<commit_msg>Changed config to minify release<commit_after>


const path = require('path');
const webpack = require('webpack');


module.exports = {

    entry: ['babel-polyfill', './src/graphly.js'],
    output: {
        filename: 'dist/graphly.min.js',
        library: 'graphly',
        libraryTarget: 'window',
    },
    externals: {
        // TODO: Do not include dependencies in release?
        "d3": "d3",
        "papaparse": "papaparse",
        "plotty": "plotty",
        "msgpack": "msgpack-lite"
    },
    plugins: [
        new webpack.optimize.UglifyJsPlugin()
    ],
    module: {
       loaders: [
            { test: /\.css$/, loader: "style-loader!css-loader" },
        ],
        rules: [
            {
                test: /\.css$/,
                use: [ 'style-loader', 'css-loader' ]
            },
            {
                test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
                loader: 'url-loader',
                options: {
                    limit: 10000
                }
            },
            {
                test: /\.js$/,
                exclude: /(node_modules|bower_components)/,
                use: {
                    loader: 'babel-loader',
                    options: {
                         presets: ['es2015'],
                    }
                }
            }
        ]
    },
    node: {
      fs: 'empty'
    },
    cache: true
};
{'fraction_non_alphanumeric': 0.15059160989602008, 'fraction_numerical': 0.008605234851201148, 'mean_word_length': 1.1184510250569477, 'pattern_counts': {'":': 8, '<': 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': '1420920', 'n_tokens_mistral': 873, 'n_tokens_neox': 806, 'n_words': 146}