<commit_before>const webpack = require('webpack');
const config = require('./webpack.config.dev');

module.exports = Object.assign({}, config, {
    plugins: [
        new webpack.optimize.DedupePlugin(),
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.DefinePlugin({
            'process.env.NODE_ENV': JSON.stringify('production')
        })
        // uncomment it when UglifyJS will be released

        /* new webpack.optimize.UglifyJsPlugin({
            mangle: false,
            compress: {<commit_msg>add todo<commit_after>const webpack = require('webpack');
const config = require('./webpack.config.dev');

module.exports = Object.assign({}, config, {
    plugins: [
        new webpack.optimize.DedupePlugin(),
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.DefinePlugin({
            'process.env.NODE_ENV': JSON.stringify('production')
        })
        // TODO: uncomment it when UglifyJS v2 will be released
        /* new webpack.optimize.UglifyJsPlugin({
            mangle: false,
            compress: {
{'fraction_non_alphanumeric': 0.12558139534883722, 'fraction_numerical': 0.0009302325581395349, 'mean_word_length': 2.622895622895623, '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': '624618', 'n_tokens_mistral': 303, 'n_tokens_neox': 299, 'n_words': 63}