<commit_before>'use strict';

var _             = require('lodash');
var path          = require('path');
var webpack       = require('webpack');
var defaultConfig = require('./default');

module.exports = _.merge(defaultConfig, {
  entry: {
    server: [
      'webpack/hot/signal.js'
    ]
  }, // Hot Module Replacement
  devtool: 'source-map',
  devServer: {
    contentBase: path.join(__dirname, './../../'),
    hot: true,
    inline: true
  },
  module: {
    loaders: [{
      test: /.js$/,
      exclude: /node_modules/,
      loader: 'monkey-hot'
    }]
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin(), // Hot Module Replacement
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': '"production"',
      'process.env.NO_SERVER_RENDERING': true
    })
  ]
}, function (obj1, obj2) {
  return _.isArray(obj2) ? obj2.concat(obj1) : undefined;
});
<commit_msg>update development config, working version<commit_after>'use strict';

var _             = require('lodash');
var path          = require('path');
var webpack       = require('webpack');
var defaultConfig = require('./default');

module.exports = _.merge(defaultConfig, {
  entry: {
    server: [
      'webpack/hot/signal.js'
    ]
  }, // Hot Module Replacement
  devtool: 'source-map',
  devServer: {
    contentBase: path.join(__dirname, './../../'),
    hot: true,
    inline: true
  },
  module: {
    loaders: [{
      test: /.js$/,
      exclude: /node_modules/,
      loader: 'monkey-hot'
    }]
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin(), // Hot Module Replacement
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': '"development"',
      'process.env.NO_SERVER_RENDERING': true
    })
  ]
}, function (obj1, obj2) {
  return _.isArray(obj2) ? obj2.concat(obj1) : undefined;
});

{'fraction_non_alphanumeric': 0.16541755888650964, 'fraction_numerical': 0.0053533190578158455, 'mean_word_length': 2.730538922155689, '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': '6410215', 'n_tokens_mistral': 605, 'n_tokens_neox': 599, 'n_words': 122}