<commit_before>const path = require('path');
const webpack = require('webpack');

module.exports = {
    entry: {
        'awesome-validator.min': [path.resolve(__dirname, 'src/validator.ts')]
    },
    output: {
        path: path.resolve(__dirname),
        filename: '[name].js',
        libraryTarget: 'umd'
    },
    resolve: {
        extensions: ['.ts', '.tsx', '.js']
    },
    devtool: 'source-map',
    plugins: [
        new webpack.optimize.UglifyJsPlugin({
            minimize: true,
            include: /\.min\.js$/,
        })
    ],
    module: {
        loaders: [{
            test: /\.tsx?$/,
            loader: 'awesome-typescript-loader',
            exclude: /node_modules/
        }]<commit_msg>build(webpack): Added `fs` empty in `node`<commit_after>const path = require('path');
const webpack = require('webpack');

module.exports = {
    entry: {
        'awesome-validator.min': [path.resolve(__dirname, 'src/validator.ts')]
    },
    output: {
        path: path.resolve(__dirname),
        filename: '[name].js',
        libraryTarget: 'umd'
    },
    resolve: {
        extensions: ['.ts', '.tsx', '.js']
    },
    devtool: 'source-map',
    plugins: [
        new webpack.optimize.UglifyJsPlugin({
            minimize: true,
            include: /\.min\.js$/,
        })
    ],
    module: {
        loaders: [{
            test: /\.tsx?$/,
            loader: 'awesome-typescript-loader',
            exclude: /node_modules/
        }]
    },
    node: {
        fs: 'empty'
{'fraction_non_alphanumeric': 0.17282321899736147, 'fraction_numerical': 0.0, 'mean_word_length': 1.8144712430426717, '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': '5066155', 'n_tokens_mistral': 482, 'n_tokens_neox': 479, 'n_words': 88}