<commit_before>var path = require('path');
var webpack = require('webpack');
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin')
 
var webpack_isomorphic_tools_plugin = 
    new Webpack_isomorphic_tools_plugin(require('./webpack-isomorphic-tools-config'))
        .development();

module.exports = {
  entry: [
        'webpack-dev-server/client?http://127.0.0.1:8080/',
        'webpack/hot/only-dev-server',
        './src/index'
  ],
  
  output: {
        path: path.resolve(__dirname, 'assets'),
        filename: 'bundle.js',
        publicPath: '/assets/'
  },
  
  plugins: [
        new webpack.HotModuleReplacementPlugin(),
        new webpack.NoErrorsPlugin(),
        webpack_isomorphic_tools_plugin
  ],
  
  module: {
        loaders: [
            {
                test: /\.js$/,
                loaders: ['babel'],
                exclude: /node_modules/
            },
        
            {
                test: /\.scss$/,
                loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[name]---[local]---[hash:base64:5]!sass-loader'
            },
            
            {
                test: webpack_isomorphic_tools_plugin.regular_expression('images'),
                loader: 'file-loader'
            }
        ]
  }
};<commit_msg>fix double HMR<commit_after>var path = require('path');
var webpack = require('webpack');
var Webpack_isomorphic_tools_plugin = require('webpack-isomorphic-tools/plugin')
 
var webpack_isomorphic_tools_plugin = 
    new Webpack_isomorphic_tools_plugin(require('./webpack-isomorphic-tools-config'))
        .development();

module.exports = {
  entry: [
        'webpack-dev-server/client?http://127.0.0.1:8080/',
        './src/index'
  ],
  
  output: {
        path: path.resolve(__dirname, 'assets'),
        filename: 'bundle.js',
        publicPath: '/assets/'
  },
  
  plugins: [
        new webpack.NoErrorsPlugin(),
        webpack_isomorphic_tools_plugin
  ],
  
  module: {
        loaders: [
            {
                test: /\.js$/,
                loaders: ['babel'],
                exclude: /node_modules/
            },
        
            {
                test: webpack_isomorphic_tools_plugin.regular_expression('style_modules'),
                loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[name]---[local]---[hash:base64:5]!sass-loader'
            },
            
            {
                test: webpack_isomorphic_tools_plugin.regular_expression('images'),
                loader: 'file-loader'
            }
        ]
  }
};
{'fraction_non_alphanumeric': 0.1374133949191686, 'fraction_numerical': 0.01077752117013087, 'mean_word_length': 1.907158836689038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '610626', 'n_tokens_mistral': 798, 'n_tokens_neox': 760, 'n_words': 97}