<commit_before>var webpack = require('webpack');
var path = require('path');
var config = require('./webpack.base.config.js');

var APP_DIR = path.resolve(__dirname, 'src/app');


config.entry = APP_DIR + '/index.jsx';
config.output.publicPath = '/public/';
config.module.loaders = config.module.loaders.concat([
    {
        test : /\.jsx?/,
        include : APP_DIR,
        exclude: '/node_modules/',
        loaders : ['babel']
    }
]);
config.plugins = config.plugins.concat([
    new webpack.DefinePlugin({
        'process.env': {
            'NODE_ENV': JSON.stringify('production')
        }
    })
]);

module.exports = config;<commit_msg>SM-22 #time 1m Fixed problem with build-production task<commit_after>var webpack = require('webpack');
var path = require('path');
var config = require('./webpack.base.config.js');

var APP_DIR = path.resolve(__dirname, 'src/app');


config.entry = APP_DIR + '/index.jsx';
config.output.publicPath = '/';
config.module.loaders = config.module.loaders.concat([
    {
        test : /\.jsx?/,
        include : APP_DIR,
        exclude: '/node_modules/',
        loaders : ['babel']
    }
]);
config.plugins = config.plugins.concat([
    new webpack.DefinePlugin({
        'process.env': {
            'NODE_ENV': JSON.stringify('production')
        }
    })
]);

module.exports = config;

{'fraction_non_alphanumeric': 0.17313432835820897, 'fraction_numerical': 0.002238805970149254, 'mean_word_length': 2.8757225433526012, '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': '7354905', 'n_tokens_mistral': 434, 'n_tokens_neox': 415, 'n_words': 79}