<commit_before>const
    path = require('path'),
    webpack = require('webpack'),
    ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
    devtool: 'source-map',
    entry: ['./lib/client/app.jsx'],
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                include: /lib\/(client|shared)/,
                loader: 'babel'
            },
            {
                test: /\.scss?$/,
                loader: ExtractTextPlugin.extract(
                    'style',
                    [
                        'css?sourceMap',
                        'sass?outputStyle=compressed&sourceMap=true&sourceMapContents=true'
                    ]
                )
            },
            {
                test: /\.(png|woff|woff2|eot|ttf|svg)(\?v=d+\.d+\.d+)?$/,
                loader: 'url'
            }
        ]
    },
    plugins: [
        new webpack.DefinePlugin({
            'process.env': {
                'NODE_ENV': JSON.stringify('production')
            }
        }),
        new webpack.optimize.UglifyJsPlugin({
            compress: {
                warnings: false
            }
        }),
        new webpack.optimize.DedupePlugin(),<commit_msg>the `s` is not optional<commit_after>const
    path = require('path'),
    webpack = require('webpack'),
    ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
    devtool: 'source-map',
    entry: ['./lib/client/app.jsx'],
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                include: /lib\/(client|shared)/,
                loader: 'babel'
            },
            {
                test: /\.scss$/,
                loader: ExtractTextPlugin.extract(
                    'style',
                    [
                        'css?sourceMap',
                        'sass?outputStyle=compressed&sourceMap=true&sourceMapContents=true'
                    ]
                )
            },
            {
                test: /\.(png|woff|woff2|eot|ttf|svg)(\?v=d+\.d+\.d+)?$/,
                loader: 'url'
            }
        ]
    },
    plugins: [
        new webpack.DefinePlugin({
            'process.env': {
                'NODE_ENV': JSON.stringify('production')
            }
        }),
        new webpack.optimize.UglifyJsPlugin({
            compress: {
                warnings: false
            }
        }),
        new webpack.optimize.DedupePlugin(),
{'fraction_non_alphanumeric': 0.14102049015668944, 'fraction_numerical': 0.0008035355564483728, 'mean_word_length': 1.1227621483375958, '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': '1257611', 'n_tokens_mistral': 724, 'n_tokens_neox': 679, 'n_words': 91}